summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
Commit message (Collapse)AuthorAgeFilesLines
* o Add $FreeBSD$ as a rcsid instead of in a commentmarcel1999-10-021-31/+28
| | | | | | | o Remove bitrotted #undef directives o Actually set errno now and order the functions Submitted by: bde
* sigset_t change (part 5 of 5)marcel1999-09-291-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround.
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-1/+4
| | | | | | initialization of sa_flags allows us to lose the bzero. $FreeBSD$ tag added.
* Nuke dlopen.3 -> dlversion.3 link.phantom1999-09-231-2/+1
| | | | | | This function was removed by jdp in rev.1.5 of dlopen.3 Forgoten by: jdp
* Add links for errc.3, verrc.3, warnc.3, vwarnc.3.phantom1999-09-221-2/+3
| | | | | PR: docs/13222 Submitted by: Ben Smithurst <ben@scientia.demos.co.uk>
* If `who' was not specified, set the appropriate bits as the chmod(1)ru1999-09-221-2/+6
| | | | | | manual page states. `chmod +s foo' and `chmod +t foodir' now work. PR: 13889
* mdoc(7)'fyphantom1999-09-211-1/+1
| | | | Reviewed by: mpp
* Correct spelling : ascii -> ASCIIphantom1999-09-201-1/+1
| | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp
* - add reference to siginterrupt(3)ru1999-09-061-32/+35
| | | | - mdoc(7) fixes
* Don't forget to reset _pw_stepping_yp to 0 before returning. Fixes a bugdes1999-09-061-0/+1
| | | | | | | | where getpwent() would ignore wildcard entries that followed a netgroup entry. PR: misc/12999 Submitted by: David Hedley <david@inty.net>
* Fix the root cause of the fts buffer overflow. This is a temporaryimp1999-09-022-10/+46
| | | | | | | | | patch to stop the core dumps while others come up with a better reviewed patch which may also fix other problems. We do illegal pointer arithmetic, but it should be OK since FreeBSD only supports machines with flat address spaces. Submitted by: bde
* Back out previous commit. I mistook passing commentary from bde forsheldonh1999-08-311-9/+6
| | | | | | review. Requested by: bde
* Only issue a warning for the first occurrence of a UID > USHRT_MAX andsheldonh1999-08-301-6/+9
| | | | | | | the first occurrence of a GID > USHRT_MAX. PR: 13344 Reviewed by: bde
* $Header$ -> $FreeBSD$peter1999-08-281-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-28111-111/+111
|
* $Id$ -> $FreeBSD$peter1999-08-273-3/+3
|
* This is the addition of a syslog(3) security.* top-level category. Thisgreen1999-08-211-1/+4
| | | | | | | | | should be used from now on for anything security but not auth-related. Included are updates for all relevant manpages and also to /etc files, creating a new /var/log/security. Nothing in the system logs to /var/log/security yet as of the time of this commit. Reviewed by: rgrimes, imp, chris
* Reverted to revision 1.8 as previous fix causes fts_open with with apho1999-08-152-2/+2
| | | | | | path name argument with a trailing '/' to fail. Reviewed by: phk
* Various man page cleanup:mpp1999-08-152-4/+4
| | | | | | | | | | - Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlines in mdoc(7) - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexy M. Zelkin <phantom@cris.net>
* Reviewed by: phkpho1999-08-142-2/+2
| | | | | | | When fts_open is used with option FTS_NOCHDIR the full path entry of type FTS_DP is returned with a trailing '/' if the final directory is empty. This fix coresponds to netbsd's __fts13.c v. 1.16
* Bad reference of sysctl(1) changed to sysctl(8)chris1999-08-141-3/+3
|
* Fix some bad references:chris1999-08-141-3/+3
| | | | | fopen(2) -> fopen(3) fclose(2) -> fclose(3)
* Use the .At macro when referencing versions of AT&T UNIX.mpp1999-07-303-6/+8
| | | | | | Note: you need to install the current groff tmac macros for these man pages to format correctly. Specifically, rev 1.21 of contrib_groff/tmac/doc-syms in -current, or rev 1.17.24 for 3.2-stable
* Add missing cause for an EINVAL return (msgtype < 1).sheldonh1999-07-261-1/+4
| | | | | PR: 12783 Submitted by: Kevin Day <toasty@dragondata.com>
* Backed out previous commit. devname.3 and devname.c were broken in Lite1bde1999-07-241-4/+6
| | | | | | | | (devname() returned "??" when the lookup failed, but callers expected it to return NULL). This was fixed in Lite2, but until recently the changes were only merged into devname.3. A day or two after devname.c was fixed, devname.3 was made inconsistent again by backing out most of the Lite2 changes.
* Correct the information about the return value when no device matchesnik1999-07-201-6/+4
| | | | | | | (or no information is available). PR: docs/12707 Submitted by: Chris Costello <chris@calldei.com>
* Make devname(3) return something more intelligent than NULL if it doesn'tphk1999-07-181-2/+27
| | | | find anything in the database.
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-1264-0/+69
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Spell isinf(3) correctly.steve1999-06-071-1/+1
| | | | PR: 11974
* Apply patch for PR #12008: remember to reset _yp_enabled flag inwpaul1999-06-041-0/+2
| | | | | | | endpwent() so we don't trip over a NULL db pointer later. PR: 12008 Submitted by: Valentin Netchayev <netch@lucky.net>
* Chflags was clearing all flags supplied on the command line after ajmz1999-05-213-6/+6
| | | | | | | clearing flag like dump or noschg, etc. PR: bin/10071 Submitted by: Andreas Klussmann <andreas@infosys.heitec.net>
* Fixed disordering and duplication of MLINKS in previous commit tobde1999-05-191-1/+2
| | | | libc/string/Makefile.inc. psignal.3 doesn't live in libc/string.
* Add a strsignal(3) (like strerror(3)) for libc compatability with otherpeter1999-05-182-4/+20
| | | | systems. NetBSD, Linux, SVR4 etc all have it.
* More typos.kris1999-05-091-2/+2
|
* Typo.kris1999-05-091-1/+1
| | | | Obtained from: OpenBSD
* Add missing strings.phk1999-04-241-0/+7
| | | | | | PR: 11285 Submitted by: Chris Costello <chris@calldei.com> Reviewed by: phk
* Back out my change from 6 April PDT that added a new dlversion()jdp1999-04-222-33/+1
| | | | | | | function. It was an ill-considered feature. It didn't solve the problem I wanted it to solve. And it added Yet Another Version Number that would have to be maintained at every release point. I'm nuking it now before anybody grows too fond of it.
* Revise for KLD's.ghelmer1999-04-201-55/+8
| | | | Prompted-By: Nathan Ahlstrom <nrahlstr@winternet.com>
* vfsload maps into kldload only now, no more fork/exec of modload(8).peter1999-04-191-85/+1
|
* Add manpage link for dlversion(3).jdp1999-04-071-2/+3
|
* Add a new function dlversion() which returns the version number ofjdp1999-04-072-2/+34
| | | | | | the dynamic linker in the same form as __FreeBSD_version. This is mainly intended for checking the dynamic linker version during a make world.
* Partial fix for the forking problem: if we can't access the master maps,des1999-03-271-4/+11
| | | | | | try again with the unrestricted map. PR: bin/10821
* Fix a (relatively harmless) braino. I confused myself over the for() looppeter1999-03-241-3/+2
| | | | | | | | | that counted the number of elements in argv. The counter is incremented in the next-iteration section of the loop, not the body, so at termination it's already "counted" the element that failed the continuation test - in this case the NULL argv terminator. Noted by: bde
* Remove last remaining references to malloc/realloc and functions thatpeter1999-03-231-50/+40
| | | | | | | | | | | | | | | | | | | | | | | call them. All the execX() libc functions should be vfork() safe now. Specifically: - execlp() does the argument count-and-build into a vector from alloca (like the others) - buildargv() is no longer used (and gone). - execvp() uses alloca/strcpy rather than strdup(). - the ENOEXEC handler uses alloca rather than malloc. - a couple of free() calls removed - alloca works on the local stack and the allocations are freed on function exit (which is why buildargv wasn't useful - it's alloca() context would disappear on return). Along the way: - If alloca() fails (can it?), set errno = ENOMEM explicitly. - The ENOEXEC recovery routine that trys again with /bin/sh appeared to not be terminating the new argv[] array for /bin/sh, allowing it to walk off the end of the list. I dithered a bit about using alloca() even more as it's most commonly associated with gcc. However, standalone portable (using malloc) and machine-specific assembler alloca implementations appear to be available on just about all the architectures we're likely to want to port to. alloca will be the least of our problems if ever going to another compiler.
* Typo fix.jkoshy1999-03-231-1/+1
| | | | | PR: docs/10733 Submitted by: Steve Coltrin <spcoltri@io.com>
* Don't be so selective about which errors cause us to continue andimp1999-03-211-7/+2
| | | | | | | | which ones cause us to fail. Now all open errors on the databse file will cause the next file in the list to be tried. Submitted by: Arne Henrik Juul <arnej@math.ntnu.no> PR: 4585
* EACESS -> EACCESalex1999-03-151-1/+1
|
* Don't bogotify the synopsis by attempting to describe err_set_file() there.bde1999-03-051-11/+19
| | | | Fixed some disorder.
* Use sysctlbyname() instead of sysctl().phk1999-03-051-6/+2
|
OpenPOWER on IntegriCloud