summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* rstat(1) and rstat_svc(8) are the early versions ofRuslan Ermilov2001-01-173-88/+0
| | | | | | | the rup(1) and rpc.rstatd(8) manpages respectively. Notes: svn path=/head/; revision=71159
* o When returning NULL, return (NULL) instead of return (0).Robert Watson2001-01-178-24/+24
| | | | | | | | Submitted by: jedgar Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=71142
* SIGABRT is *not* the same as calling abort(), so don't claim that it is.Ben Smithurst2001-01-161-2/+2
| | | | | | | | | | (abort() flushes all open stdio streams for one thing.) PR: 24249 Submitted by: Edwin Groothuis <mavetju@chello.nl> Notes: svn path=/head/; revision=71129
* The bit about sigpending not detecting any errors is a lie, it can returnBen Smithurst2001-01-161-2/+7
| | | | | | | | | | EFAULT. PR: 24360 Submitted by: Kenneth Ingham <ingham@i-pi.com> Notes: svn path=/head/; revision=71124
* mdoc(7) police: fixed broken references.Ruslan Ermilov2001-01-162-3/+1
| | | | Notes: svn path=/head/; revision=71107
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-1611-14/+14
| | | | Notes: svn path=/head/; revision=71097
* Version bump, because of ABI incompatibility.Nicolas Souchu2001-01-151-1/+1
| | | | | | | Suggested by: Maxim Sobolev <sobomax@FreeBSD.org> Notes: svn path=/head/; revision=71062
* Add Truecolor 16 and 32bits support. Note that 24bits modes are notNicolas Souchu2001-01-134-35/+251
| | | | | | | | | | | | | | supported since it's not easy to put 3 bytes accross 64Kb windows of memory. This should not be such a problem with linear framebuffers. There is no major interface modification except that the color type becomes u_long instead of byte. So one just need to recompile his application. Approved by: Soren Schmidt <sos@freebsd.dk> Notes: svn path=/head/; revision=70991
* man(7) -> mdoc(7).Ruslan Ermilov2001-01-122-138/+248
| | | | Notes: svn path=/head/; revision=70977
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.Ruslan Ermilov2001-01-127-13/+13
| | | | Notes: svn path=/head/; revision=70974
* man(7) -> mdoc(7).Ruslan Ermilov2001-01-121-266/+433
| | | | Notes: svn path=/head/; revision=70966
* man(7) -> mdoc(7).Ruslan Ermilov2001-01-121-77/+100
| | | | Notes: svn path=/head/; revision=70959
* man(7) -> mdoc(7).Ruslan Ermilov2001-01-115-681/+845
| | | | Notes: svn path=/head/; revision=70936
* mdoc(7) police: fixed (minor) mdoc bugs introduced in previous revision.Ruslan Ermilov2001-01-101-2/+3
| | | | Notes: svn path=/head/; revision=70874
* o acl_from_text.c:Robert Watson2001-01-094-48/+20
| | | | | | | | | | | | | | | - errno is already set to ENOMEM (as appropriate) when asprintf(), strdup(), or acl_init() fails o acl_to_text.c: - the return value of the initial strdup() is not checked - errno is already set to ENOMEM (as appropriate) when asprintf and acl_init() fails - let the the default: case use 'goto error_label' for consistency Submitted by: jedgar Notes: svn path=/head/; revision=70841
* o bzero() the ACL structure only if malloc() returns non-NULL.Robert Watson2001-01-092-2/+4
| | | | | | | Submitted by: jedgar Notes: svn path=/head/; revision=70840
* o Correct spelling error from patch in previous commit.Robert Watson2001-01-092-2/+2
| | | | Notes: svn path=/head/; revision=70839
* o Add missing initialization of errno from error returns ofRobert Watson2001-01-096-0/+6
| | | | | | | | | cap_get_fd(), cap_get_file() and cap_get_proc(). Submitted by: jedgar Notes: svn path=/head/; revision=70838
* The user name for anonymous ftp is now "anonymous".Dag-Erling Smørgrav2001-01-081-10/+17
| | | | | | | | Remove the period after the last man page reference. Add a reference to RFC1635, and sort the RFC references by number. Notes: svn path=/head/; revision=70797
* Back out previous (accidental) commit.Dag-Erling Smørgrav2001-01-081-1/+1
| | | | Notes: svn path=/head/; revision=70796
* Use "anonymous" rather than "ftp" as login name for anonymous ftp.Dag-Erling Smørgrav2001-01-082-4/+3
| | | | | | | | | Rather than have a separate (misnamed) FTP_ANONYMOUS_PASSWORD constant, use FTP_ANONYMOUS_USER (i.e. "anonymous") to construct the anonymous ftp password if getlogin() fails. Notes: svn path=/head/; revision=70795
* o Make acl_from_text() support uid's and gid's as well as usernamesRobert Watson2001-01-082-12/+36
| | | | | | | | | | and groupnames, by adding appropriate support to acl_name_to_id() in acl_support.c Submitted by: green Notes: svn path=/head/; revision=70781
* Correct check of getgrnam outputChris D. Faulhaber2001-01-072-2/+2
| | | | | | | Approved by: rwatson Notes: svn path=/head/; revision=70768
* Fix bugs in the handling of > 8 positional arguments:Archie Cobbs2001-01-061-14/+18
| | | | | | | | | | | - The stack was getting smashed by __grow_type_table() - reallocf() was being called with the wrong pointer - The maximum argument number was being incorrectly computed PR: misc/23521 Notes: svn path=/head/; revision=70725
* Use a unified libgcc rather than a seperate one for threaded andJohn Baldwin2001-01-061-2/+2
| | | | | | | | | | | non-threaded programs. This provides threaded programs with the needed exception frame symbols. parts submitted by: Max Khon <fjoe@iclub.nsu.ru> PR: 23252 Notes: svn path=/head/; revision=70721
* gethostbyname2() is able to lookup AF_INET6.Alexander Langer2001-01-061-10/+0
| | | | | | | | PR: 23823 Noticed by: Andrew Arensburger <arensb@ooblick.com> Notes: svn path=/head/; revision=70710
* Use a unified libgcc rather than a seperate one for threaded andDavid E. O'Brien2001-01-069-18/+14
| | | | | | | | | | | non-threaded programs. This provides threaded programs with the needed exception frame symbols. parts submitted by: Max Khon <fjoe@iclub.nsu.ru> PR: 23252 Notes: svn path=/head/; revision=70703
* Force strong references to several pthread_* functions which are weaklyDavid E. O'Brien2001-01-063-0/+96
| | | | | | | | | | | | | | | | | | | referenced to by libgcc.a. This is needed when linking statically as SVR4 (ie, ELF) behavior is to only link in a module if it satisfies an undefined strong reference from somewhere. (this surprises a lot of people) Things are different when using shared libs, the entire library and its modules and their symbols are available at run-time (when the weak reference is seen to still be unsatisfied and is satisfied on the spot), this is not the case with static libs. Thus one can have a static binary with unresolved week references, and at run-time dereference a NULL pointer. Submitted by: eischen Notes: svn path=/head/; revision=70702
* Add rcsid's.David E. O'Brien2001-01-043-9/+23
| | | | Notes: svn path=/head/; revision=70659
* The instructions on doing something with src/lib/csu/powerpc.David E. O'Brien2001-01-041-0/+26
| | | | Notes: svn path=/head/; revision=70658
* PowerPC version of the C runtime support.David E. O'Brien2001-01-041-0/+124
| | | | | | | | This is an amalgamation of the NetBSD macppc crt0.c (which the copyright reflects) and the FreeBSD/Alpha crt1.c. Notes: svn path=/head/; revision=70657
* PowerPC verions of the crt initialization and finalization files requiredDavid E. O'Brien2001-01-042-0/+91
| | | | | | | by the ELF ABI. Notes: svn path=/head/; revision=70656
* Fix SCCS id string abuse I introduced.David E. O'Brien2001-01-021-1/+1
| | | | Notes: svn path=/head/; revision=70592
* Fix typo: ispec -> ipsecBen Smithurst2001-01-011-1/+1
| | | | | | | | PR: 24005 Submitted by: Jimmy Olgeni <olgeni@uli.it> Notes: svn path=/head/; revision=70577
* Change the interface of getlogin_r to return an int. The formerDaniel Eischen2001-01-012-22/+68
| | | | | | | | | | | | | interface was based on a draft version of POSIX whereas the final (1996) version of POSIX specified that the error is returned. While I'm here, fix getlogin_r so that it works for more than just the first time it's called. Reviewed by: wes, wollman (man page) Notes: svn path=/head/; revision=70557
* Make it a bit clearer that asprintf doesn't actually "return" a pointer inBen Smithurst2001-01-011-4/+3
| | | | | | | | | | | the normal sense of the word, but does it through one of its arguments which is a pointer to a pointer. PR: 23717 Submitted by: phk Notes: svn path=/head/; revision=70553
* In call to realloc, pass the number of bytes needed, not simply theGuy Helmer2000-12-311-2/+2
| | | | | | | | | | number of login time structures. Forward the name of the deny capability rather than hard-coding it in login_hostok. Notes: svn path=/head/; revision=70544
* Use macro API to <sys/queue.h>Poul-Henning Kamp2000-12-311-4/+4
| | | | | | | | | | Submitted by: "Peter Avalos" <pavalos@theshell.com> Reviewed by: /sbin/md5 [*] [*] This line appears courtesy of Mr. Warner Losch, all rights reversed. Notes: svn path=/head/; revision=70537
* Use macro API to <sys/queue.h>Ben Smithurst2000-12-302-4/+4
| | | | Notes: svn path=/head/; revision=70525
* Fix a tailq conversion bug that resulted in, e.g., nvi crashing uponBrian Feldman2000-12-301-1/+2
| | | | | | | | | | | | | | | quitting every time. The way to free a CIRCLEQ was to loop until the current == current->head, but the way to free a TAILQ is to loop until current->head == NULL. In any case, the CORRECT way to do it is a loop of TAILQ_EMPTY() checks and TAILQ_REMOVE()al of TAILQ_FIRST(). This bug wouldn't have happened if the loop wasn't hard-coded... There may be more bugs of this type from the conversion. Notes: svn path=/head/; revision=70512
* Use TAILQ instead of CIRCLEQ.Poul-Henning Kamp2000-12-291-21/+18
| | | | Notes: svn path=/head/; revision=70492
* Fixed typo not fixed in previous revision.Ruslan Ermilov2000-12-291-1/+1
| | | | Notes: svn path=/head/; revision=70482
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-29142-655/+676
| | | | Notes: svn path=/head/; revision=70481
* Reflect rev 1.18 in crypt.c. Note that this section is somewhatPeter Wemm2000-12-281-3/+5
| | | | | | | mangled and could do with some word-smithing. Notes: svn path=/head/; revision=70422
* Hindsight is wonderful, but I got cold feet over the crypt(3) defaultPeter Wemm2000-12-281-5/+5
| | | | | | | | | | | | | | | | | | | | so I am backing it out for now. The problem is that some random program calling crypt() could be passing a DES salt and the crypt(3) library would encrypt it in md5 mode and there would be a password mismatch as a result. I wrote a validater function for the DES code to verify that a salt is valid for DES, but I realized there were too many strange things to go wrong. passwd(1), pw(8) etc still generate md5 passwords by default for /etc/master.passwd, so this is almost academic. It is a big deal for things that have their own crypt(3)-ed password strings (.htaccess, etc etc). Those are the things I do not want to break. My DES salt recognizer basically checked if the salt was either 2 or 13 characters long, or began with '_' (_PASSWORD_EFMT1). I think it would have worked but I have seen way too much crypt() mishandling in the past. Notes: svn path=/head/; revision=70421
* Merge into a single US-exportable libcrypt, which only providesPeter Wemm2000-12-285-122/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one-way hash functions for authentication purposes. There is no more "set the libcrypt->libXXXcrypt" nightmare. - Undo the libmd.so hack, use -D to hide the md5c.c internals. - Remove the symlink hacks in release/Makefile - the algorthm is set by set_crypt_format() as before. If this is not called, it tries to heuristically figure out the hash format, and if all else fails, it uses the optional auth.conf entry to chose the overall default hash. - Since source has non-hidden crypto in it there may be some issues with having the source it in some countries, so preserve the "secure/*" division. You can still build a des-free libcrypt library if you want to badly enough. This should not be a problem in the US or exporting from the US as freebsd.org had notified BXA some time ago. That makes this stuff re-exportable by anyone. - For consistancy, the default in absence of any other clues is md5. This is to try and minimize POLA across buildworld where folk may suddenly be activating des-crypt()-hash support. Since the des hash may not always be present, it seemed sensible to make the stronger md5 algorithm the default. All things being equal, no functionality is lost. Reviewed-by: jkh (flame-proof suit on) Notes: svn path=/head/; revision=70419
* Link stringlist.3 to sl_{add,find,free,init}.3Ben Smithurst2000-12-271-0/+2
| | | | Notes: svn path=/head/; revision=70412
* Document FTP_LOGIN.Dag-Erling Smørgrav2000-12-221-0/+2
| | | | Notes: svn path=/head/; revision=70274
* Check the FTP_LOGIN environment variable before falling back onDag-Erling Smørgrav2000-12-221-0/+2
| | | | | | | FTP_ANONYMOUS_USER. Notes: svn path=/head/; revision=70273
* When retrieving the time of day in nanosleep(), store it in theDaniel Eischen2000-12-203-12/+36
| | | | | | | | | | | global time of day. This costs us nothing, but is a bit of a hack to work around a process blocking and not having the time updated by an ITIMER_PROF signal. PR: 23679 Notes: svn path=/head/; revision=70233