summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* deltat declared time_t, msg("") call used %d (assumed time_t == int).dillon2001-10-281-1/+2
| | | | | | Changed deltat to be an int (result of delta time calculation). MFC after: 1 day
* fixed to support pc98nyan2001-10-281-0/+5
|
* Remove duplicate apm entry for pc98nyan2001-10-281-2/+1
|
* Removed pmc_isa_identify function. It is not needed.nyan2001-10-282-26/+0
| | | | Submitted by: takawata
* Use a quad int conversion routine for time_t instead of ulong, capable ofdillon2001-10-281-2/+4
| | | | decoding tar's full time buffer (12 digits).
* Various string fields for certain cpio types are 11 rather then 8dillon2001-10-281-6/+15
| | | | | | | | | characters. Use quad conversion functions rather then long conversion where appropriate to handle the available range. Mainly fixes time_t but there was also a st_size ulong conversion in there that has to be quad or cpio cannot be used to copy files > 2G. MFC after: 1 day
* Remove unnecessary casts in timeval.tv_sec load from st_*timedillon2001-10-281-4/+4
|
* Remove assumption that time_t is an intdillon2001-10-281-1/+3
| | | | MFC after: 1 day
* Remove some extraneous spaces from the usage message.joe2001-10-281-1/+1
|
* sparc64 verions of the crt initialization and finalization files requiredobrien2001-10-282-0/+100
| | | | by the ELF ABI.
* Add missing cast for improper time_t use in computation.dillon2001-10-281-1/+1
|
* ll_time and ut_time are int32_t on disk and have to remain that waypeter2001-10-271-2/+2
| | | | unless we dont want to run 4.x binaries any more.
* sc_lasttime and sc_starttime are time_t's, not long's.dillon2001-10-271-2/+2
|
* Only provide function information in compile environments that supportmike2001-10-274-18/+31
| | | | | | | the C99 variable __func__ and never for C++. Provide a more meaningful example in the assert(3) manual. Reviewed by: asmodai, bde
* syncdelay, filedelay, dirdelay, metadelay are ints, not time_t's,dillon2001-10-272-8/+4
| | | | and can also be made static.
* Restore K&R prototype. Fix other style bugs.mike2001-10-272-10/+12
| | | | Reviewed by: asmodai, bde
* Nudge the axe a bit closer to cdevsw[]:phk2001-10-272-2/+66
| | | | | | | | | | | | Make it a panic to repeat make_dev() or destroy_dev(), this check should maybe be neutered when -current goes -stable. Whine if devsw() is called on anon dev_t's in a devfs system. Make a hack to avoid our lazy-eval disk code triggering the above whine. Fix the multiple make_dev() in disk code by making ${disk}${unit}s${slice} an alias/symlink to ${disk}${unit}s${slice}c
* Diff-reduce these two.markm2001-10-273-8/+9
| | | | | | | Really, one of them needs to disappear. I'll figure out which later. Reported by: bde
* Eliminate the prefix parameter to linux_emul_find(), which was alwaysdes2001-10-274-11/+9
| | | | | | | | linux_emul_path anyway. Linux_emul_find() has interesting bugs in its prefix handling (which luckily are not currently exploitable); this commit is preliminary to an attempt at cleaning it up. Approved by: marcel
* Add a P_INEXEC flag that indicates that the process has called execve() anddes2001-10-273-15/+30
| | | | | | | | it has not yet returned. Use this flag to deny debugging requests while the process is execve()ing, and close once and for all any race conditions that might occur between execve() and various debugging interfaces. Reviewed by: jhb, rwatson
* Add missing crti.S and crtn.S files. I have tested these with -staticpeter2001-10-272-0/+92
| | | | linking only. They may require some gp relative tweaks for dynamic use.
* Sync with other platforms.obrien2001-10-271-2/+3
|
* minor style updatingobrien2001-10-273-13/+9
|
* Update for reality and syncing with other FreeBSD platforms.obrien2001-10-271-6/+5
|
* Feh, it helps to include a file other than yourself... wonder howobrien2001-10-271-1/+1
| | | | | | GCC cpp liked that. Properly include the branding info.
* Tell how the import was done.obrien2001-10-271-0/+21
|
* This commit was generated by cvs2svn to compensate for changes in r85587,obrien2001-10-2718-0/+7666
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import the One True AWK, in the form of bwk's AWK Nov 15, 2000 release.obrien2001-10-2718-0/+7666
|
* Implement elf_reloc. This makes klds work.jake2001-10-272-13/+259
| | | | Obtained from: netbsd
* Handle instruction access mmu miss faults in kernel mode. These can onlyjake2001-10-273-2/+95
| | | | be generated by non-preloaded klds.
* o Modify copyright date format for improved consistency: use '-' forrwatson2001-10-272-2/+2
| | | | year ranges, rather than a comma-delimited list of years.
* o Update copyright dates.rwatson2001-10-274-4/+4
| | | | Obtained from: TrustedBSD Project
* o Improve style(9) compliance following KSE modifications. In particular,rwatson2001-10-273-54/+57
| | | | | | | | | strip the space from '( struct thread *...', wrap long lines. o Remove an unneeded comment on the topic of no lock being required as part of the NDINIT() in __acl_get_file(), as it's really not required there. Obtained from: TrustedBSD Project
* o Althought this is not specified in POSIX.1e, the UFS ACL implementationrwatson2001-10-271-1/+6
| | | | | | | | | | | | | | | | coerces the deletion of a default ACL on a directory when no default ACL EA is present to success. Because the UFS EA implementation doesn't disinguish the EA failure modes "that EA name has not been administratively enabled" from "that EA name has no defined data", there's a potential conflict in error return values. Normally, the lack of administratively configured EA support is coerced to EOPNOTSUPP to indicate that ACLs are not available; in this case, it is possible to get a successful return, even if ACLs are not available because EA support for them has not been enabled. Expand the comment in ufs_setacl() to identify this case. Obtained from: TrustedBSD Project
* o Clarify a comment about the locking condition of the vnode upon exitrwatson2001-10-271-9/+15
| | | | | | | | | | from ufs_extattr_enable_with_open(). o Print auto-start notifications if (bootverbose). This was previously commented out since it didn't know how to check for bootverbose. o Drop in comments throughout indicating where ENOENT should be replaced with ENOATTR once that is available. Obtained from: TrustedBSD Project
* o The comment about ordering the destruction of the lock and the removal ofrwatson2001-10-271-1/+1
| | | | | | | the flag indicating that the structure was initialized didn't need an XXX, since it didn't need fixing. Obtained from: TrustedBSD Project
* o Wrap a number of long lines of code, many of which were introducedrwatson2001-10-271-9/+16
| | | | | | due to KSE-related (p) expansions. Obtained from: TrustedBSD Project
* Since namespace support was added to the UFS extended attributerwatson2001-10-271-9/+7
| | | | | | | | | | | | | | | implementation to replace single-character namespace prefixes, '$' is no longer an invalid attribute name, and the namespace is relevant to validity determination. o Remove '$' case from ufs_extattr_valid_attrname() o Add attrnamespace argument to ufs_extattr_valid_attrname(), and fill out appropriately. Currently no decisions are made based on the namespace argument, but may be in the future. Obtained from: TrustedBSD Project
* o Spelling error s/suffient/sufficient/rwatson2001-10-271-1/+1
| | | | | PR: 31524 Submitted by: Dan Langille <dan@freebsddiary.org>
* Correct James Cook's year of birth. I wonder how anybody could expectgrog2001-10-271-1/+1
| | | | him to have been born in the 15th century.
* Turn on table-of-contents generation for the release notes andbmah2001-10-274-0/+8
| | | | | | hardware notes. Requested by: many
* Explicitly use int32_t for on-disk records for pw_change and pw_expire,peter2001-10-272-10/+16
| | | | | | since that is what we use now and this insulates us from any time_t tweaks here. We can define a record format that uses 64 bit times if/when we need to.
* Enable round-robin arbitration between transmit and receive unitluigi2001-10-272-0/+10
| | | | | | | | in the 21143, instead of giving priority to the receive unit. This gives a 10-15% performance improvement in the forwarding rate under heavy load. Reviewed-by: Bill Paul
* Support the "install.debug" and "reinstall.debug" targets for kernel modules.des2001-10-278-19/+24
| | | | | | | | | Small tweaks to kldxref may be necessary to avoid the surprising (but harm- less) behaviour of 'kldload foo' loading foo.ko.debug instead of foo.ko if it is present in the kernel directory. Approved by: a week of silence on -arch MFC after: 2 weeks
* Force the length of the sockaddr to be correct for AF_INET and AF_INET6fenner2001-10-261-2/+23
| | | | | | in bind() and connect(). Linux doesn't care if the length of the sockaddr matches its address family; FreeBSD does. This fixes the known issues with the resolver in linux_base-7.
* Remove the -I../libc/${MACHINE_ARCH} that was there solely forpeter2001-10-261-3/+0
| | | | the #include "DEFS.h" that was only used on i386 (which has been fixed).
* Make libc_r check the kern.usrstack sysctl instead of using internalpeter2001-10-269-18/+60
| | | | | | | kernel #defines to figure out where the stack is located. This stops libc_r from exploding when the kernel is compiled with a different KVM size. IMHO this is all kinda bogus, it would be better to just check %esp and work from that.
* Add 'ciss'.msmith2001-10-261-0/+1
|
* Add mtx_lock_giant() and mtx_unlock_giant() wrappers for sysctl managementdillon2001-10-264-6/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of Giant during the Giant unwinding phase, and start work on instrumenting Giant for the file and proc mutexes. These wrappers allow developers to turn on and off Giant around various subsystems. DEVELOPERS SHOULD NEVER TURN OFF GIANT AROUND A SUBSYSTEM JUST BECAUSE THE SYSCTL EXISTS! General developers should only considering turning on Giant for a subsystem whos default is off (to help track down bugs). Only developers working on particular subsystems who know what they are doing should consider turning off Giant. These wrappers will greatly improve our ability to unwind Giant and test the kernel on a (mostly) subsystem by subsystem basis. They allow Giant unwinding developers (GUDs) to emplace appropriate subsystem and structural mutexes in the main tree and then request that the larger community test the work by turning off Giant around the subsystem(s), without the larger community having to mess around with patches. These wrappers also allow GUDs to boot into a (more likely to be) working system in the midst of their unwinding work and to test that work under more controlled circumstances. There is a master sysctl, kern.giant.all, which defaults to 0 (off). If turned on it overrides *ALL* other kern.giant sysctls and forces Giant to be turned on for all wrapped subsystems. If turned off then Giant around individual subsystems are controlled by various other kern.giant.XXX sysctls. Code which overlaps multiple subsystems must have all related subsystem Giant sysctls turned off in order to run without Giant.
* minor commenting based on syscall environmentdillon2001-10-261-0/+6
|
OpenPOWER on IntegriCloud