summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Build more components to get named to build.peter1999-11-301-8/+25
|
* oops, forgot to disconnect libbind while it's broken.peter1999-11-301-2/+6
|
* Update for Bind 8.2.2.p5peter1999-11-301-0/+37
|
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-306-254/+309
| | | | | | | | | | | | | | | | | | | | | | | NGM_BINARY2ASCII, which convert control messages to ASCII and back. This allows control messages to be sent and received in ASCII form using ngctl(8), which makes ngctl a lot more useful. This also allows all the type-specific debugging code in libnetgraph to go away -- instead, we just ask the node itself to do the ASCII translation for us. Currently, all generic control messages are supported, as well as messages associated with the following node types: async, cisco, ksocket, and ppp. See /usr/share/examples/netgraph/ngctl for an example of using this. Also give ngctl(8) the ability to print out incoming data and control messages at any time. Eventually nghook(8) may be subsumed. Several other misc. bug fixes. Reviewed by: julian
* Report swapdevices as cdevs rather than bdevs.phk1999-11-291-1/+1
| | | | Remove unused dev2budev() function.
* style fixes, remove extra braces.alfred1999-11-291-17/+20
| | | | | | | | | | | | readdir_r is not POSIX according to POSIX_SOURCE, bruce says: > readdir_r() is in the _POSIX_SOURCE section, but is not a POSIX.1-1990 > function. It's POSIX.1-1996 so it should be under a different feature > test which we don't support yet. make sure errno is saved so that its contents are cleared unless necessary. Submitted by: bde
* Add the PAM SSH RSA key authentication module. For example, you can add,green1999-11-291-0/+328
| | | | | | | | | "login auth sufficient pam_ssh.so" to your /etc/pam.conf, and users with a ~/.ssh/identity can login(1) with their SSH key :) PR: 15158 Submitted by: Andrew J. Korty <ajk@waterspout.com> Reviewed by: obrien
* Provide a man page for Alfreds lovely readdir_r function. Alsowes1999-11-292-5/+27
| | | | | fixed a minor indentation nit and added a few {}s to make readdir_r easier on old eyes.
* Provide and document ctermid_r function.wes1999-11-282-2/+23
|
* Document the getlogin_r function.wes1999-11-281-2/+22
|
* Provide the getlogin_r function.wes1999-11-281-0/+18
|
* * Fix the stack allocation code so that it works for alpha. Change itdfr1999-11-286-18/+78
| | | | | | | | | to use mmap(..., MAP_STACK, ...) on alpha too since that should work now. * Add hooks to allow GDB to access the internals of pthreads without having to know the exact layout of struct pthread. Reviewed by: deischen
* add pthread_cancel, obtained from OpenBSD.alfred1999-11-2891-252/+2422
| | | | | | | | | | | | | | eischen (Daniel Eischen) added wrappers to protect against cancled threads orphaning internal resources. the cancelability code is still a bit fuzzy but works for test programs of my own, OpenBSD's and some examples from ORA's books. add readdir_r to both libc and libc_r add some 'const' attributes to function parameters Reviewed by: eischen, jasone
* Remove 'sd' support. SCSI disks are known as 'da' these days.msmith1999-11-272-3/+1
|
* Remove BAD144 supportphk1999-11-275-42/+0
|
* To avoid confusion, zap libtermcap. ncurses provides both curses, termcappeter1999-11-2612-2178/+0
| | | | and termlib (terminfo) support.
* To avoid confusion, zap libcurses. ncurses provides both curses, termcappeter1999-11-2673-10160/+0
| | | | and termlib (terminfo) support.
OpenPOWER on IntegriCloud