summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Rewriting of flags_to_string() and string_to_flags() to use an array.roberto1999-12-194-344/+244
| | | | | PR: bin/3648 Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
* This commit was generated by cvs2svn to compensate for changes in r54820,peter1999-12-192-0/+383
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import fparseln(3) from NetBSD. It's used for easily dealing with \peter1999-12-192-0/+383
| | | | | | | | escaped lines etc. (used by mailwrapper)
* | Initialize a var to quiet -Wall.obrien1999-12-181-1/+1
| |
* | Switch over to the OpenBSD fts.c, fixing lots of things.green1999-12-182-142/+250
| | | | | | | | Obtained from: OpenBSD
* | Fix some minor POSIX/SUSv2 compliance nits.jasone1999-12-186-21/+15
| | | | | | | | PR: kern/11982
* | Make a dlopen failure consistant with dlsym(). "Shouldn't happen."peter1999-12-172-2/+6
| |
* | patch glitchpeter1999-12-171-3/+0
| |
* | Remove -lmd. Use dlopen() and dlsym() instead for calls to the MD5* andpeter1999-12-173-5/+91
| | | | | | | | | | SHA* routines so that callers of libcrypt are not exposed to the internal implementation.
* | Back up following macros by functions: ishexnumber, isideogram, isnumber,phantom1999-12-171-7/+58
| | | | | | | | | | | | isphonogram, isrune, isspecial. Fix ordering. Reviewed by: bde
* | Fix typosphantom1999-12-178-10/+16
| | | | | | | | | | PR: docs/14858 Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
* | Change to work with recent signal changes. The signal being handled isdeischen1999-12-171-6/+14
| | | | | | | | | | now added to the signal mask; this test failed because it didn't allow for this.
* | Fix handling of trailing :'s to match what other OSes do (spit outjkh1999-12-171-2/+8
| | | | | | | | | | | | a diagnostis). Submitted by: Guy Harris <gharris@flashcom.net>
* | Fix problems with cancellation while in critical regions.deischen1999-12-1720-40/+95
| | | | | | | | | | | | | | | | | | | | | | o Cancellation flags were not getting properly set/cleared. o Loops waiting for internal locks were not being exited correctly by a cancelled thread. o Minor spelling (cancelation -> cancellation) and formatting corrections (missing tab). Found by: tg Reviewed by: jasone
* | Fixes for signal handling:deischen1999-12-1715-441/+624
| | | | | | | | | | | | | | | | | | | | | | | | | | | | o Don't call signal handlers with the signal handler access lock held. o Remove pending signals before calling signal handlers. If pending signals were not removed prior to handling them, invocation of the handler could cause the handler to be called more than once for the same signal. Found by: JB o When SIGCHLD arrives, wake up all threads in PS_WAIT_WAIT (wait4). PR: bin/15328 Reviewed by: jasone
* | Avoid an infinite loop if the last element of the iov array passed tojasone1999-12-163-3/+39
| | | | | | | | | | | | writev() has an iov_len of 0. PR: bin/8281
* | KAME 4th patchshin1999-12-166-4/+1088
| | | | | | | | | | | | | | | | IPv6 specific library functions addition. (getnameinfo(), getaddrinfo(), and IPv6 transport support is not yet) Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* | Document SA_SIGINFOcracauer1999-12-151-25/+90
| | | | | | | | Reviewed by: Sheldon Hearn <sheldonh@uunet.co.za>
* | Catch up to the fact that block devices are toast.jkh1999-12-152-13/+38
| | | | | | | | | | | | | | | | Teach about the afd driver. Teach new char dev for ad driver. Make ownerships correct. Submitted by: jhb
* | Make setjmp, longjmp, sigsetjmp, and siglongjmp weak aliases forjasone1999-12-144-8/+24
| | | | | | | | | | | | | | | | __setjmp, __longjmp, __sigsetjmp, and __siglongjmp, respectively. This supports cancellation in the linuxthreads port. In the long run, a much more comprehensive solution will necessitate more dramatic changes to libc symbol naming, and these aliases will probably need modification at that time.
* | Commented outnik1999-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | MAN8+= rstat_svc.8 The file it talks about doesn't exist on FreeBSD, so there's no point in installing the manual page. There was already a comment to this effect in this file, but the entry hadn't been commented out. rstat.1 and rstat_svc.8 can probably actually be removed. PR: docs/13767 Submitted by: Seth <seth@freebie.dp.ny.frb.org>
* | Remove x-ref to itself.billf1999-12-141-1/+0
| | | | | | | | Reviewed by: mpp
* | Correct "standard compilance" notesphantom1999-12-141-2/+8
| | | | | | | | Reminded by: bde
* | Add a `build-tools' target for make_hash and make_keys.marcel1999-12-132-0/+4
| |
* | Document VGLGetXY and VGLSetXY functions.abial1999-12-131-0/+22
| | | | | | | | Reviewed by: sos
* | Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC todillon1999-12-122-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | madvise(). This feature prevents the update daemon from gratuitously flushing dirty pages associated with a mapped file-backed region of memory. The system pager will still page the memory as necessary and the VM system will still be fully coherent with the filesystem. Modifications made by other means to the same area of memory, for example by write(), are unaffected. The feature works on a page-granularity basis. MAP_NOSYNC allows one to use mmap() to share memory between processes without incuring any significant filesystem overhead, putting it in the same performance category as SysV Shared memory and anonymous memory. Reviewed by: julian, alc, dg
* | While comparing this with OpenBSD (ie: trying to figure out what mkstemps()peter1999-12-111-2/+2
| | | | | | | | | | | | | | | | is good for... :-)), I discovered that part of the change when mkstemps() was brought in was missed - it was missing the termination case to make sure it doesn't walk into the suffix. This isn't the same code OpenBSD has, I think this is a little better as we terminate the loop in a better spot.
* | Install include files with mode 444.marcel1999-12-112-2/+2
| |
* | Fix a '&&' that should have been a '&'.archie1999-12-101-1/+1
| | | | | | | | Submitted by: Erik Salander <erik@whistle.com>
* | Fix several typos.archie1999-12-091-17/+17
| | | | | | | | Submitted by: Erik Salander <erik@whistle.com>
* | Remove discussion of %C in the BUGS section. The limitations on validsheldonh1999-12-091-4/+0
| | | | | | | | | | centuries are much more serious than those mentioned and this is not the place to discuss the limitations of time_t.
* | Prevent digit-gobbling for all but %l and %e, which can't be fixed.sheldonh1999-12-082-12/+85
| | | | | | | | | | | | | | | | Discuss in the BUGS section of the manpage, problems involved with the use of %C, %e, %l, %p, %U and %W. PR: 13901 Reported by: scott@chronis.pobox.com
* | Accept 12 for %l, because it's logical to expect "%l:%M" to work forsheldonh1999-12-081-1/+1
| | | | | | | | "12:00" and because strftime(3) does the same.
* | Add a cross-reference to fabs(3) man page.chris1999-12-071-0/+1
| | | | | | | | | | PR: docs/15337 Submitted by: Bruce A. Mah <bmah@ca.sandia.gov>
* | Add reference to netgraph(4) in the 'see also' section.archie1999-12-061-0/+1
| |
* | Fix buffer overflows.kris1999-12-051-2/+2
| | | | | | | | Reviewed by: imp, audit@freebsd.org
* | Make work for sigset_t change. Also modify tests to account fordeischen1999-12-052-6/+6
| | | | | | | | recent changes to signal handling.
* | Change signal handling to conform to POSIX specified semantics.deischen1999-12-0412-81/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, a signal was delivered to each thread that didn't have the signal masked. Signals also improperly woke up threads waiting on I/O. With this change, signals are now handled in the following way: o If a thread is waiting in a sigwait for the signal, then the thread is woken up. o If no threads are sigwait'ing on the signal and a thread is in a sigsuspend waiting for the signal, then the thread is woken up. o In the case that no threads are waiting or suspended on the signal, then the signal is delivered to the first thread we find that has the signal unmasked. o If no threads are waiting or suspended on the signal, and no threads have the signal unmasked, then the signal is added to the process wide pending signal set. The signal will be delivered to the first thread that unmasks the signal. If there is an installed signal handler, it is only invoked if the chosen thread was not in a sigwait. In the case that multiple threads are waiting or suspended on a signal, or multiple threads have the signal unmasked, we wake up/deliver the signal to the first thread we find. The above rules still apply. Reported by: Scott Hess <scott@avantgo.com> Reviewed by: jb, jasone
* | Add RLIMIT_SBSIZE here, too.green1999-12-031-0/+4
| |
* | Missed part of previous commit.archie1999-12-031-0/+4
| |
* | Recognize NGM_BPF_COOKIE.archie1999-12-031-0/+1
| |
* | Replace the -q option to pwd_mkdb with a test for PW_SCAN_BIG_IDS insheldonh1999-12-021-1/+8
| | | | | | | | | | | | | | | | | | | | | | the environment. This allows big ID warnings to be suppressed for vipw and chpass as well. Since the environment variable test is only performed for callers of pw_scan() that do not set pw_big_ids_warning, the test can still be overriden. Currently, chpass and pwd_mkdb are the only users of pw_scan() and neither of them overrides the environment variable test.
* | Separate some common sysctl code into sysctl_find_oid() and callinggreen1999-12-011-0/+4
| | | | | | | | | | thereof. Also, make the errno returns _correct_, and add a new one which is more appropriate.
* | %Ex -> %Ef to not conflict with POSIXache1999-11-305-13/+53
| | | | | | | | | | | | Add %EF (long months name / day order) Check that O and E not intermixed Add missing POSIX extension to example
* | Document %Ex and %OBache1999-11-301-2/+4
| |
* | Stricter checking %A vs %aache1999-11-301-11/+13
| |
* | Fix %C handlingache1999-11-301-14/+52
| | | | | | | | | | | | Use locale for %c Add %+ Add %Ex and %OB
* | Add %Ex extension to determine "%e %b" or "%b %e" orderache1999-11-303-8/+22
| | | | | | | | Separate alternative for O and E cases
* | Turn libbind back on, it should be ok now.peter1999-11-301-1/+1
| |
* | EEK! termios mode wasn't activated..peter1999-11-302-2/+2
| | | | | | | | Noticed by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
OpenPOWER on IntegriCloud