summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: hard sentence breaks, whitespace at EOL, contractions.ru2002-03-151-10/+18
|
* mdoc(7) police: Fix xref to timeradd(3).ru2002-03-151-1/+1
|
* mdoc(7) police: punctuation nit.ru2002-03-151-2/+1
|
* bde got caught by mdoc(7) police. :-)ru2002-03-152-2/+2
|
* mdoc(7) police: don't you notice the warnings?ru2002-03-151-1/+0
|
* Come on guys, you can't just take OpenBSD manpage and commit itru2002-03-151-30/+41
| | | | | | | | | over someone else's fixes; this is at least offensive. If you have problems doing a proper merge, we are here, your fellow committers. :-( Reapply markup fixes from revision 1.2 and fix some more. Also fix the $OpenBSD$ tag.
* Remove trailing characters from #endif.obrien2002-03-151-3/+0
| | | | Actually this #endif is not needed, so remove leading characters also.
* Clarify fcntl(2) and flock(2) interoperability.maxim2002-03-141-1/+7
| | | | | | | PR: docs/23353 Reviewed by: ru, dillon Approved by: ru MFC after: 3 days
* Fix some bugs that would prevent %fsr to be set correctly, and addtmm2002-03-114-8/+25
| | | | | | | | | support for fcmp and fcmpe instructions with a condition code specification other than %fcc0. This (primarily the first part) seems to fix a lot of problems that people were seeing, e.g. perl and gawk failures. Reported and analyzed by: wollman
* Account for <machine/fsr.h> no longer being usable for assembler code.tmm2002-03-112-2/+6
|
* Fix __dtoul to work on sparc64 (it used a half-way v8 stack layout),tmm2002-03-111-13/+13
| | | | and make it PIC-aware.
* Save/restore the %y register around calls to the C user trap handler;tmm2002-03-111-0/+4
| | | | | | gcc emits the deprecated sparc v8 instructions that use this register when optimizing for UltraSparc machines because they are apparetly faster then their v9 counterpars there.
* cosmetic: spell 'cashe' as 'cache'billf2002-03-103-3/+3
|
* Don't refer the reader to look for a word that doesn't exist anywheredd2002-03-101-1/+3
| | | | | | | else in the page. PR: 35623 Submitted by: Gary W. Swearingen <swear@blarg.net>
* If syslog fails to talk to syslogd, then it tries to write a messagedwmalone2002-03-091-4/+4
| | | | | | | | | | | to the console in a final attempt to log something. Make this final attempt non-blocking so that a blocking console doesn't end up blocking process which attempt to syslog something. In particular, this means you should be able to su and fix the problem if the console becomes blocking. MFC after: 3 weeks
* Correct a typo.dd2002-03-091-1/+1
| | | | Submitted by: peter.kusenda@accenture.com
* This API will appear in FreeBSD 4.6.dd2002-03-091-1/+1
|
* Bring a comment in line with the code, and fix some spelling errorsdd2002-03-091-4/+3
| | | | | | | while I'm here. PR: 35394 Submitted by: andrew@ugh.net.au
* Fix build. I commented out getpass() in readpassphrase.c because thegreen2002-03-091-3/+3
| | | | | | | | | implementation did not match our manpage description (i.e., it could return NULL). I mistakenly thought we were still using getpass.c because, for some reason, CVS never removed it from the tree. Pointy hat received from: alfred Kick in the groin to: CVS
* Update readpassphrase(3)to the latest revisions. Changes are mainly duegreen2002-03-082-57/+146
| | | | | | | to return value constraints now changing as well as more intelligent handling of signals. Obtained from: OpenBSD
* Improve punctuation consistency: all errors had a '.' after themrwatson2002-03-081-1/+1
| | | | except ENOATTR.
* Add new errno ``ENOATTR''.green2002-03-072-0/+5
|
* Add GETPID to the list of operations for which semctl(2) returns the value.maxim2002-03-061-1/+1
| | | | | | Reviewed by: alfred, ru Approved by: ru MFC after: 3 days
* Add a carriage return to each function declaration, and make use of ID tageric2002-03-061-8/+12
| | | | | | macros. MFC after: 1 day
* When multiple threads call atexit at the same time, some operations musttegge2002-03-051-2/+28
| | | | | | | | | | be serialized. A mutex is used to protect the critical regions. sbrk() and brk() are not thread safe. Replace use of sbrk() with a call to malloc to avoid race when one thread calls atexit while another thread calls malloc. Reviewed by: deischen
* Add fpsetmask(). Needed to build miniperl.jake2002-03-052-2/+29
| | | | Obtained from: netbsd
* Fix a bug where siglongjmp would clobber the argument to return fromjake2002-03-051-2/+2
| | | | | | sigsetjmp. It would return the value of the signal flag, instead. Pointy hat to: jake
* Connect the sparc64 userland fp emulator to the build.tmm2002-03-051-0/+2
|
* Check if string is not NULL, not *string, before setting *string.green2002-02-271-2/+2
|
* Introduce a version field to `struct xucred' in place of one of thedd2002-02-272-1/+5
| | | | | | | | | | | | spares (the size of the field was changed from u_short to u_int to reflect what it really ends up being). Accordingly, change users of xucred to set and check this field as appropriate. In the kernel, this is being done inside the new cru2x() routine which takes a `struct ucred' and fills out a `struct xucred' according to the former. This also has the pleasant sideaffect of removing some duplicate code. Reviewed by: rwatson
* use _GENERIC_DIRSIZ(dp) to avoid copying too much of the dirent overalfred2002-02-261-2/+2
| | | | | the user supplied buffer. this can be a problem when the user doesn't supply a full dirent and we corrupt their memory.
* Per POSIX <grp.h> doesn't require <sys/types.h>.sobomax2002-02-251-1/+0
| | | | Submitted by: ache
* Add userland floating point emulator code for sparc64. This is a porttmm2002-02-2317-1/+3520
| | | | | of the (never committed) in-kernel version (with some optimizations and cleanups), which in turn was ported from NetBSD.
* Add ifdefs for sparc64.jake2002-02-233-2/+7
|
* Fix wrong offsets. Add offsets for %fsr and %tstate.jake2002-02-231-6/+11
| | | | Submitted by: tmm
* Add space for %fsr and %tstate to utrapframe. Save them in the genericjake2002-02-232-1/+14
| | | | | | | user trap entry code. Restore %asi and %ccr from the saved %tstate before returning to the trapping user code. Submitted by: tmm
* o style(9) and consistency fix:jedgar2002-02-211-2/+2
| | | | | | | | - if (!var) -> if (var == NULL) o spelling fix (althouh -> although) Reviewed by: rwatson Obtained from: TrustedBSD Project
* o style(9) and consistency fixes:jedgar2002-02-215-44/+41
| | | | | | | | - if (!var) -> if (var == NULL) - return val; -> return (val); Reviewed by: rwatson Obtained from: TrustedBSD Project
* Add more argument checkingjedgar2002-02-212-0/+17
| | | | | Reviewed by: rwatson Obtained from: TrustedBSD Project
* static'ize and declare functionsjedgar2002-02-211-1/+5
| | | | | Reviewed by: rwatson Obtained from: TrustedBSD Project
* Fixed divots that I created when I moved prototypes of group_from_gidimp2002-02-192-2/+3
| | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-1835-33/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm
* o style and consistency fixes:jedgar2002-02-176-40/+40
| | | | | | - if (!var) -> if (var == NULL) - return val; -> return (val); o update copyright
* Fix two file descriptor leaks in the internal function local_rpcb()iedowse2002-02-161-1/+8
| | | | | | | | that is used by a number of rpcbind-related library functions. Also fix a rpc client leak in rpcb_set(). Submitted by: mbr Obtained from: NetBSD
* Document that the type of st_flags is now fflags_t.wollman2002-02-151-2/+2
|
* Don't leave stack garbage in the reserved fields of the header.bde2002-02-151-0/+1
|
* Fixed style bugs in rev.1.5:bde2002-02-151-4/+5
| | | | | | | | | | - missing whitespace - strange version of warn() built out of warnx() + strerror(). Just use warn(). - conversion of just one of the two perror()'s to warn*() Actually use _warn() instead of _warn(), to keep up with namespace- unpollution for warn().
* Use new-style function declations.imp2002-02-131-6/+2
|
* Don't make it seem like vm.max_proc_mmap only affects MAP_FIXED.dd2002-02-101-4/+4
| | | | | | PR: 34005 Submitted by: Steven Grady <grady@digitaldeck..com>, Hiten Pandya <hitmaster2k@yahoo.com>
* Part III: Update extended attribute system call interface documentation.rwatson2002-02-101-18/+39
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
OpenPOWER on IntegriCloud