summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Grammar nit.ru2001-11-211-1/+1
|
* mdoc(7) police: fixed bugs from rev. 1.15.ru2001-11-201-14/+14
|
* Introduce readpassphrase(3), a superset of getpass(3). Thisgreen2001-11-205-101/+256
| | | | | | comes originally from Todd Miller. Obtained from: OpenBSD
* mdoc(7) police: minor markup and spelling fixes.ru2001-11-201-4/+7
|
* mdoc(7) police: sort xrefs.ru2001-11-201-2/+2
|
* mdoc(7) police: consistently use the .Ux macro.ru2001-11-201-4/+4
|
* mdoc(7) police: remove whitespace at EOL.ru2001-11-201-1/+1
|
* Include sys/param.h instead of sys/types.h to get the definition of thejhb2001-11-201-1/+1
| | | | | | MIN() macro. Pointy hat to: rwatson
* o Cleanup of includes: user.h may be a catch-all, but that's notrwatson2001-11-191-4/+3
| | | | | | | entirely desirable. Back out previous commit, and clean up includes to be more minimal. Submitted by: bde
* #include <sys/user.h> rather than individually including a plethorarwatson2001-11-191-4/+1
| | | | | | | of kernel include files, reducing the replication of kernel include dependency information in userland. Obtained from: TrustedBSD Project
* Actually build new files.jake2001-11-191-1/+2
| | | | Forgotten by: jake
* libkvm for sparc64. Only works for kernel memory so far.jake2001-11-181-0/+157
|
* Need .type and .size here too.jake2001-11-187-4/+15
|
* Add more libc stuff.jake2001-11-1811-0/+843
| | | | Obtained from: netbsd
* Catch up to jmpbuf changes. Define offsets used from assmebly languagejake2001-11-182-24/+39
| | | | | in another file so that it is easy to see what they are and keep them in sync with the headers (grafted from the kernel generated assym.s).
* Remove fork and vfork wrappers. The kernel does the right thing.jake2001-11-183-127/+1
|
* Add .type and .size pseudo-ops to system call macros so that dynamic binariesjake2001-11-181-7/+15
| | | | will link. They must be used for weak symbols as well as strong ones.
* Remove a sentence from the BUGS section that claims non page-alignediedowse2001-11-181-3/+1
| | | | | | | | offsets don't work. It should really be documented that the returned pointer can be in the middle of a fully-valid page when the offset is not page-aligned, but I couldn't come up with suitable wording. PR: kern/22754
* Fix pthread_join so that it works if the target thread exits whiledeischen2001-11-1712-30/+96
| | | | | | | the joining thread is in a signal handler. Reported by: Loren James Rittle <rittle@labs.mot.com> MFC after: 1 week
* If 'VX' is given, realloc(foo,0) will bail, it shouldn't.phk2001-11-171-2/+5
| | | | | PR: 29376 Submitted by: Farooq Mela <fmela0@sm.socccd.cc.ca.us>
* Correctly call THREAD_UNLOCK() if the recursive call trap is sprung.phk2001-11-161-0/+2
| | | | Pointed out by: knu
* Create link from directory.3 to readdir_r.3.dd2001-11-161-2/+2
| | | | | PR: 32028 Submitted by: andrew@ugh.net.au
* o Reflect repo-copy of extattr.[c3] from libutil to libc, movingrwatson2001-11-164-183/+7
| | | | | | | | extattr namespace routines to the libc/posix1e directory. While the extattr calls are not strictly POSIX.1e, POSIX.1e wasn't strictly ever approved, so I think that's OK. Obtained from: TrustedBSD Project
* o Document 'nocheckmail' login capability.rwatson2001-11-161-0/+1
|
* Although the 'bool' type is referenced in the list of capabilities, itrwatson2001-11-161-0/+3
| | | | | | | is not defined in the capability type list. Provide a definition for 'bool', if a slightly less than elegant one. Note that this definition does not include the complete scope of available behavior defined in cgetcap(3), and could probably be improved.
* o Implement imaxabs(), imaxdiv(), llabs(), lldiv().mike2001-11-1513-12/+450
| | | | | | | o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards conformance and add additional references. Reviewed by: bde, wollman
* Cross-reference the fdopen and fileno manpages.murray2001-11-142-1/+3
| | | | | PR: docs/31866 Submitted by: W. Campbell <wcampbel@botbay.net>
* Cleanups after previous change:jhb2001-11-132-18/+4
| | | | | | | | | | | - Renumber labels since the previous revision removed one. - Remove useless and wrong comment. - Repeating the function name is just redundant. - The previous revision made the comment about %edx useless. - The comment about %eax was wrong (but did explain why %eax used to be fixed up). Submitted by: bde
* The kernel already fixes up %eax for parents that return from fork, sojhb2001-11-136-110/+4
| | | | | don't bother manually fixing up %eax for the parent process by testing the value in %edx and zeroing and already zeroed %eax.
* One more fix for sysinstall/libdisk to create a device filematusita2001-11-111-6/+10
| | | | | | | | if and only if a target directory is devfs. Previous patch doesn't correct, it's unconditionally avoid to create a device file if kernel knows devfs. PR: 31109
* Fix NO_SENDMAIL knob. When FreeBSD's old BSD version of vacation wasgshapiro2001-11-111-1/+6
| | | | | | | | | | | | | | | replaced with the new version in sendmail's distribution, vacation and the necessary libraries (libsmdb and libsmutil) were changed so they were always compiled. This broke people who didn't checkout src/contrib/sendmail/. I don't know if it's best to think of NO_SENDMAIL as no sendmail sources available or no sendmail binary. It is now the former. Also, remove the sendmail chapter from System Managers Manual (SMM) if NO_SENDMAIL is defined (for similar reasons -- source not available). PR: 31863, 31865 Submitted by: matusita, Joe Kelsey <joe@zircon.seattle.wa.us> MFC after: 3 days
* Fixed namespace pollution related to `err' in libc in the same way as forbde2001-11-116-7/+17
| | | | | | | | `warn'. Now a whole 2 members of the err() family don't cause pollution. This fixes world breakage in awk for NOSHARED worlds. contrib/awk/msg.c has had its own version of err() for a long time, but this somehow didn't cause problems until the update to awk-3.1.0.
* Increment the loop counter.des2001-11-101-0/+1
| | | | | PR: bin/29218 Submitted by: Goran Lowkrantz <goran.lowkrantz@ismobile.com>
* - Put missing prototype for rcmd() in <unistd.h>.ru2001-11-092-58/+66
| | | | | | | - Clean up the manpage. - style(9) rcmdsh.c. Committed from: BSDCon/EU 2k+1 terminal room
* The algorithm that computes the tables used in the BM search algorithm sometimesdcs2001-11-091-1/+2
| | | | | | | | | | access an array beyond it's length. This only happens in the last iteration of a loop, and the value fetched is not used then, so the bug is a relatively innocent one. Fix this by not fetching any value on the last iteration of said loop. Submitted by: MKI <mki@mozone.net> MFC after: 1 week
* Note that the manpage is incorrect about the vector argument.peter2001-11-091-0/+3
|
* kern.ps_arg_max_cache is a long, not an int. I believe this is half ofpeter2001-11-081-1/+1
| | | | | | what broke ps on ia64. It probably also broke on alpha, but the fallback method of using lseek/read on /proc/*/mem to read ps_strings seems to work there. It doesn't on ia64 yet.
* Fix vendor ID's.obrien2001-11-0712-36/+60
|
* rcsid[]->__FBSDIDobrien2001-11-0755-248/+95
|
* Don't ignore unknown characters. The previous code treated a line like:fenner2001-11-072-3/+5
| | | | | | | | | | | | hosts:!!!!!!!!@@@@@$%^&*()()*$(files{}{}|||++!)(dns exactly the same as: hosts: files dns Recover from parse errors by looking for the end of a line; this allows entries without errors to still be parsed even if there is an erroneous entry earlier in the file.
* - Change the f_isdir field of struct file to be a flags field and twojhb2001-11-061-13/+54
| | | | | | | | | new flags: F_ROOTDIR and F_RR (Rock Ridge present). - Cache the SUSP LEN_SKP parameter in struct file as well. - If we open() '/', then force a read of the directory's contents so we can examine the directory record of '.' to see if Rock Ridge is present. - If Rock Ridge extensions are present, lookup Rock Ridge names in readdir().
* - Add a simple SUSP parser.jhb2001-11-061-8/+154
| | | | | - Use the SUSP parser to detect Rock Ridge (RRIP) extensions and to look up alternate names when opening files.
* Switch to using ANSI function declarations and add missing functionjhb2001-11-061-31/+15
| | | | | prototypes. I'm tired of getting stupid bugs from changing function parameters and not getting warnings from the compiler when I goof it up.
* Add a note explaining why CLOCKS_PER_SEC isn't 1000000.dwmalone2001-11-051-1/+10
| | | | | | | While I'm here, "of a second" does not belong to CLOCKS_PER_SEC. PR: 30297 Submitted by: Bernd Luevelsmeyer <bdluevel@heitec.net>
* - There is no such thing as a socket structure. sockets are integers.jhb2001-11-051-2/+2
| | | | | | | | | | | I'm assuming that the comment was regarding socket address structures, so correct the comment about pre-zero'ing socket structures to recommend pre-zero'ing socket address structures. - Fix some minor grammar nits. - This isn't directly submitted by the PR below but is related to it and was inspired by it. PR: 31704
* gamma(x) actually returns \log(|\Gamma(x)|), so correct the mandwmalone2001-11-051-16/+28
| | | | | | | | | | page and add an historical note explaining this. This patch is based on Stephen's. We still need someone to implement tgamma. PR: 28972, 31764 Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
* Describe handling of NULLs passed to pthread_setcancelstate().murray2001-11-052-4/+20
| | | | | PR: docs/31745 Submitted by: Andrew <andrew@ugh.net.au>
* Document ENETDOWN.dd2001-11-051-0/+2
| | | | | PR: 31436 Submitted by: Milon Papezik <milon.papezik@oskarmobil.cz>
* malloc and calloc do not free memory.dd2001-11-051-2/+3
| | | | | PR: 31365 Submitted by: SUZUKI Koichi <koich@cac.co.jp>
* Mark up NULL in .Dv.dd2001-11-042-2/+6
| | | | | PR: 31747 Submitted by: <andrew@ugh.net.au>
OpenPOWER on IntegriCloud