summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Submitted by: Kirk McKusick <mckusick@McKusick.COM>julian1998-06-102-16/+36
| | | | | | | Fix for potential hang when trying to reboot the system or to forcibly unmount a soft update enabled filesystem. FreeBSD already handled the reboot case differently, this is however a better fix.
* I accidentally committed the wrong file, sorry.dfr1998-06-101-1/+1
|
* Move ftok() from libcompat to libc, so that it can be closer to itsjdp1998-06-104-141/+4
| | | | | | friend shmget(). PR: closes misc/6763
* Back out previous change. This behavior is at least completelydt1998-06-102-2/+2
| | | | "susv2"-compliant.
* When system act as IPX router (sysctl -w net.ipx.ipx.ipxforwarding=1,phk1998-06-101-2/+3
| | | | | | | | | | running IPXRouted -s) between IPX configured interfaces, it generate syslog messages "ipx_ctlinput: cmd 15." even if kernel compiled with IPXPRINTFS=0 and IPX_ERRPRINTFS=0 options. PR: 6875 Reviewed by: phk Submitted by: Vladimir A. Jakovenko <vovik@ntu-kpi.kiev.ua>
* Correct name and number for sxdc modulesphk1998-06-102-6/+6
| | | | | | PR: 6891 Reviewed by: phk Submitted by: Nick Sayer <nsayer@quack.kfu.com>
* Fix grammar, "null" -> "NUL"danny1998-06-101-5/+5
|
* Spelling fixes.phk1998-06-106-15/+15
| | | | | | PR: 6903 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* Spellint fixes.phk1998-06-101-3/+3
| | | | | | PR: 6903 (not the contrib bits). Reviewed by: phk Submitted by: Josh Gillam <josh@quick.net>
* Also return EOPNOTSUPP rather than EINVAL for not supported owner and groupdt1998-06-102-4/+4
| | | | changes.
* Add initial support for the FreeBSD/alpha kernel. This is very much adfr1998-06-10113-176/+21627
| | | | | | | | | | work in progress and has never booted a real machine. Initial development and testing was done using SimOS (see http://simos.stanford.edu for details). On the SimOS simulator, this port successfully reaches single-user mode and has been tested with loads as high as one copy of /bin/ls :-). Obtained from: partly from NetBSD/alpha
* 64bit fixes: don't cast pointers to int.dfr1998-06-101-14/+14
|
* 64bit fixes: don't cast p->p_retval to an int*.dfr1998-06-101-3/+5
|
* 64bit fixes: use u_long not int for ioctl command.dfr1998-06-101-2/+3
|
* 64bit fixes: use size_t not u_int for sizes.dfr1998-06-101-2/+2
|
* 64bit fixes: p->p_retval is a register_t[] not an int[].dfr1998-06-101-3/+4
|
* Sync with sys/i386/isa/clock.c revision 1.124.kato1998-06-103-18/+18
|
* fchflags(8) -> fchflags(2)peter1998-06-101-3/+3
| | | | | | Submitted by: Kenneth Merry <ken@plutotech.com> Also, while here, mention that other FS's don't do flags.
* There is no need to make nochange imply ignore as well.peter1998-06-102-6/+5
| | | | Suggested by: bde
* Don't silently accept attempts to change flags where they are notpeter1998-06-1010-15/+50
| | | | supported.
* Return EOPNOTSUPP rather than EINVAL for flags that are not supported.peter1998-06-102-4/+4
|
* Don't attempt to change owner/mode/flags that don't need to changed.peter1998-06-101-15/+29
| | | | | | This should calm down attempts to `cp -p' to a nfs mount or some other filesystem that doesn't accept flags or all combinations of flags. It will warn if it fails to change flags though.
* Allow syslogd to separate out kernel log messages with a knownjulian1998-06-102-6/+22
| | | | | | | | | category. e.g. separate out ipfw entries to a separate file. Reviewed by: (briefly) phk Submitted by: archie@whistle.com Obtained from: Whistle source tree
* This is a null commit to log the fact that I have done a repositoryjdp1998-06-102-2/+2
| | | | | | | copy to bring these files into libc from libcompat. I will enable them and kill off the libcompat versions on the main branch soon. PR: step one toward closing misc/6763
* Stop including COMPAT_21 unconditionally for X now; that kludge hasn'tjkh1998-06-102-10/+6
| | | | been necessary for awhile.
* Quieten gcc 2.8.1brian1998-06-102-4/+4
|
* Cast pid_t to int for sprintf.brian1998-06-101-2/+2
| | | | Pointed out by: Charlie Sorsby <crs@hgo.net>
* Fix a couple of warnings noted with -Wall on FreeBSD-2.1.5.brian1998-06-102-8/+4
| | | | Pointed out by: Charlie Sorsby <crs@hgo.net>
* Add a commented out CFLAGS entry that can be uncommented to compile threadjb1998-06-093-3/+18
| | | | | lock debug into libc_r. I don't know if this is the best place to document this, but at least it is recorded somewhere. 8-)
* Implement compile time debug support instead of tracking file name andjb1998-06-0962-321/+342
| | | | | | | line number every time a file descriptor is locked. This looks like a big change but it isn't. It should reduce the size of libc_r and make it run slightly faster.
* Add compile time debug instead of doing this all the time. Reduce thejb1998-06-091-46/+333
| | | | | | | time that a thread keeps the file descriptor table locked. In particular, perform malloc/free calls outside the lock and handle the situation where two threads can race to initialise the table entry for the same file descriptor.
* Add support for compile time debug. This is enabled if libc_r is builtjb1998-06-093-60/+156
| | | | | | | | | | with -D_LOCK_DEBUG. This adds the file name and line number to each lock call and these are stored in the spinlock structure. When using debug mode, the lock function will check if the thread is trying to lock something it has already locked. This is not supposed to happen because the lock will be freed too early. Without lock debug, libc_r should be smaller and slightly faster.
* POSIX says that pthread_exit() is not allowed to be called from ajb1998-06-093-0/+30
| | | | | | | | cleanup destructor, so trap this case to prevent me from being being burnt again by applications that try to do this. With this change, an application (like one using a mis-configured ACE) will exit the process after displaying a message quoting the POSIX section that the application has violated.
* Add compile time thread lock debug support.jb1998-06-093-18/+63
| | | | | Add a thread specific flag to trap the case where pthread_exit() is called from a destructor in violation of the Posix standard.
* Remove __NETBSD_SYSCALLS from CFLAGS now that it is set in sys.mk.jb1998-06-091-2/+3
|
* Rename calls when building libc_r.jb1998-06-091-3/+3
|
* Make this thread-safe in both libc as well as libc_r.jb1998-06-091-13/+2
|
* Rename when building libc_r.jb1998-06-095-9/+9
|
* Add rename support for libc_r.jb1998-06-091-1/+50
|
* Fix usage stringache1998-06-091-2/+2
|
* Show the time that we reached maximum throughput.brian1998-06-092-7/+12
| | | | Submitted by: "Stephane E. Potvin" <sepotvin@videotron.ca>
* Indicate optional signal number fieldache1998-06-091-2/+2
|
* Add optional config file field: signal number to send (defaulted to HUP)ache1998-06-092-10/+43
| | | | F.e. apache restarts less agressively on USR1 then on HUP
* Fix potential resource leak: when call to des_crypt_1() fails, rememberwpaul1998-06-091-2/+3
| | | | to destroy the RPC CLIENT handle before returning.
* sizeof(foo - 1) isn't the same as sizeof(foo) - 1.imp1998-06-091-3/+3
| | | | Pointed out by: Theo De Raadt.
* Add (mostly stub) alpha support. Incidentally, it doesn't build on stabledfr1998-06-096-4/+125
| | | | unless I manually construct y.tab.h. Is this normal?
* Print correct error message if we copy an unreadable directory.dt1998-06-091-1/+2
|
* Fix typo in a comment.dt1998-06-092-4/+4
|
* Add a tc_ prefix to struct timecounter members.phk1998-06-0913-254/+262
| | | | Urged by: bde
* Pass lists of possible root devices and their names up to thebde1998-06-095-121/+155
| | | | | | | | | | | | | | | | | | | | | | | machine-independent code and try mounting the devices in the lists instead of guessing alternative root devices in a machine- dependent way. autoconf.c: Reject preposterous slice numbers instead of silently converting them to COMPATIBILITY_SLICE. Don't forget to force slice = COMPATIBILITY_SLICE in the floppy device name. Eliminated most magic numbers and magic device names in setroot(). Fixed dozens of style bugs. vfs_conf.c: Put the actual root device name instead of "root_device" in the mount struct if the actual name is available. This is useful after booting with -s. If it were set in all cases then it could be used to do mount(8)'s ROOTSLICE_HUNT and fsck(8)'s hotroot guess better.
OpenPOWER on IntegriCloud