summaryrefslogtreecommitdiff
path: root/lib/libc/sys
Commit message (Collapse)AuthorAgeFilesLines
* Remove reference to signanosleepAndrey A. Chernov1998-05-141-1/+0
| | | | Notes: svn path=/head/; revision=36039
* Nuke signanosleep()Peter Wemm1998-05-142-21/+3
| | | | Notes: svn path=/head/; revision=36037
* Add a BUGS section and describe a problem I've been having forBrian Somers1998-05-091-1/+14
| | | | | | | a few weeks now. Notes: svn path=/head/; revision=35897
* Typo fix.James Raynard1998-05-031-2/+2
| | | | Notes: svn path=/head/; revision=35656
* Fixed disordering and other style bugs in rev.1.50.Bruce Evans1998-05-011-6/+4
| | | | Notes: svn path=/head/; revision=35592
* Change the description of errno to match the thread-aware implementationJohn Birrell1998-04-301-32/+6
| | | | | | | | from 3.0 on. With 3.0 being a major release, now is a good time to do this. Notes: svn path=/head/; revision=35543
* Build __error.c into libc, but not libc_r. The weak symbol in theJohn Birrell1998-04-301-2/+7
| | | | | | | | | | | | | file works with libpthread, but when built into libc_r which has a non-weak symbol of the same name, the linker behaves unpredicatably and sometimes links the wrong symbol. The linker behaviour is a byproduct of what the program calls from object to object so it is like winning a lottery if the program actually works. The odds are quite good - 95:1, I think. We need a sure thing, though, so weak symbols can't be used instead of renaming things. Notes: svn path=/head/; revision=35539
* `sigprocmask()' man page references `sigmask()' in synopsis.Poul-Henning Kamp1998-04-261-1/+0
| | | | | | | | | | | | Note odd `sigmask()' line in synopsis. `sigsetops(3)' is better suited for `sigprocmask' and is already referenced from the manual page. (`sigmask()' is useful for the older (& deprecated) `sigsetmask()' API). PR: 6395 Reviewed by: phk Submitted by: Joseph Koshy <koshy@india.hp.com> Notes: svn path=/head/; revision=35457
* Backed out lseek changes.Dag-Erling Smørgrav1998-04-191-1/+1
| | | | Notes: svn path=/head/; revision=35315
* Return EINVAL and do not changefile pointer if resulting offset is negative.Dag-Erling Smørgrav1998-04-181-2/+2
| | | | | | | PR: kern/6184 Notes: svn path=/head/; revision=35274
* Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B andPeter Dufault1998-03-285-1/+532
| | | | | | | | | | | | | | | | | | | _KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing. Notes: svn path=/head/; revision=34925
* For 1.3, NetBSD replaced the swapon() syscall with swapctl() and movedJohn Birrell1998-03-232-2/+46
| | | | | | | | the only call to compat_12 which isn't there by default. Provide a wrapper. Notes: svn path=/head/; revision=34847
* For 1.3, NetBSD walloped the msync syscall and replaced it withJohn Birrell1998-03-232-2/+59
| | | | | | | | | __msync13. The old one got moved to compat_12. Wrap __msync13 up to look like FreeBSD's msync and be careful to respect the fact that MS_SYNC is 0x0000 on FreeBSD, but 0x0004 on NetBSD. Notes: svn path=/head/; revision=34796
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.AqPhilippe Charnier1998-03-191-6/+8
| | | | Notes: svn path=/head/; revision=34669
* <sys/errno.h> -> <errno.h>Eivind Eklund1998-03-161-1/+1
| | | | Notes: svn path=/head/; revision=34629
* Add #include <unistd.h> to get the prototype for __syscall().John Birrell1998-03-091-1/+2
| | | | | | | Cast to long before casting to a void ptr to shut up gcc. Notes: svn path=/head/; revision=34387
* Yikes, this is the worst of the lot. Bruce suggested doing this (!).John Birrell1998-03-091-58/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include the architecture specific sys makefile like previously, but what this contains differs. It defines MDASM which list architecture specific asm code that *replaces* syscalls of the same name defined in MIASM (which gets defined by the syscall.mk or netbsd_syscall.mk dependent of NETBSD_SYSCALLS being defined). If a syscall has a C source implementation or something funny done to it, or just doesn't need default asm source generated for it, then it is listed in NOASM. syscall.mk is generated by makesyscalls.sh with other syscall files. netbsd_syscall.mk is a hand-generated equivalent. So if a new syscall is added and no other makefiles are edited, it will automatically have the default asm source generated for it (whether you want it or not). Anything listed in MDASM gets added to SRCS and gets built. For each syscall name in MIASM, if it doesn't exist in MDASM or NOASM, it gets added to the ASM or ASMR lists to have code generated for it. If the syscall name was listed in HIDDEN_SYSCALLS (intended for use by libc_r, not libc which has it defined, but empty), then the name is added to the ASMR list and gets renamed before being built; otherwise it is added to the ASM list and gets built with the same name. I wonder if this is too complicated. But it works on both i386 and alpha. Notes: svn path=/head/; revision=34386
* Function to return a pointer to the non-threaded errno. This is declaredJohn Birrell1998-03-091-0/+47
| | | | | | | | with a weak symbol so that it won't be linked when linking against libc_r or libpthread. Notes: svn path=/head/; revision=34385
* Compatibility functions for use when __NETBSD_SYSCALLS is defined.John Birrell1998-03-092-0/+222
| | | | Notes: svn path=/head/; revision=34384
* Don't add OBJS to CLEANFILES. bsd.obj.mk does it. Some objects wereBruce Evans1998-02-251-3/+1
| | | | | | | duplicated. Notes: svn path=/head/; revision=33798
* correct a typo I just noticed.Jordan K. Hubbard1998-02-171-1/+1
| | | | Notes: svn path=/head/; revision=33515
* Document the fpgetprec/fpsetprec functions in their man page.Jonathan Lemon1998-02-042-1/+3
| | | | | | | | | Add cross-references to the elusive fpsetmask() function to various other man pages. Reviewed by: bde Notes: svn path=/head/; revision=33107
* Kill lfs files that were causing make world to fail.Warner Losh1998-01-311-3/+2
| | | | Notes: svn path=/head/; revision=32927
* Added cross references to mincore(2) and minherit(2).Alexander Langer1998-01-201-0/+3
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32638
* Added #include <sys/types.h> to synopsis.Alexander Langer1998-01-202-1/+4
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32637
* Fixed missing #include in synopsis.Bruce Evans1998-01-161-0/+2
| | | | Notes: svn path=/head/; revision=32565
* Fixed wrong prototype for clock_getres().Bruce Evans1998-01-161-2/+2
| | | | Notes: svn path=/head/; revision=32564
* Typo fix.Alexander Langer1998-01-151-2/+12
| | | | | | | | | | Added EOPNOTSUPP and EMLINK to errors section. Added symlink(2) xref. Obtained from: OpenBSD Notes: svn path=/head/; revision=32514
* Consistently reference init as .Xr init 8.Alexander Langer1998-01-131-2/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32494
* Dump the constant NGROUPS in favor of the POSIX way:Alexander Langer1998-01-131-9/+6
| | | | | | | | | sysconf(_SC_NGROUPS_MAX). Submitted by: bde Notes: svn path=/head/; revision=32489
* Use .Fn for sysconf(_SC_CLOCK_TCK) reference.Alexander Langer1998-01-131-1/+3
| | | | | | | Added $Id$. Notes: svn path=/head/; revision=32488
* Formatting fix & improved comment for struct timeval.Alexander Langer1998-01-111-1/+3
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32451
* Fixed brk(2) xref.Alexander Langer1998-01-111-1/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32450
* Added sys/types.h to synopsis as per POSIX.Alexander Langer1998-01-111-1/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32449
* Replace sys/param.h with sys/types.h as per POSIX.Alexander Langer1998-01-111-1/+9
| | | | | | | | | Document the special case of gidsetlen == 0. Partially obtained from: OpenBSD Notes: svn path=/head/; revision=32448
* Document that arg max is controllable via sysctl.Alexander Langer1998-01-111-5/+7
| | | | Notes: svn path=/head/; revision=32447
* Formatting fix.Alexander Langer1998-01-111-1/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32438
* Added EMFILE and ENFILE to errors section.Alexander Langer1998-01-111-0/+5
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32437
* .Xr sigvec --> sigactionAlexander Langer1998-01-111-2/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32436
* Add <sys/types.h> to synopsis.Alexander Langer1998-01-111-1/+4
| | | | | | | | | | Correct a grammatical error. Add cross-reference to setrlimit(2). Obtained from: OpenBSD Notes: svn path=/head/; revision=32435
* Expanded cross references.Alexander Langer1998-01-026-8/+15
| | | | Notes: svn path=/head/; revision=32193
* Convert caddr_t --> void * for sys/mman.h functions.Alexander Langer1997-12-319-16/+16
| | | | | | | | | | | | | | | | | | | mlock, mmap, mprotect, msync, munlock, and munmap are defined by POSIX as taking void *. The const modifier has been added to mlock, munlock, and mprotect as the standard dictates. minherit comes from OpenBSD and has been updated to conform with their recent change to void *. madvise and mincore are not defined by POSIX, but their arguments have been modified to be consistent with the POSIX-defined functions. mincore takes a const pointer, but madvise does not due to the MADV_FREE case. Discussed with: bde Notes: svn path=/head/; revision=32131
* Fixed formatting of the MADV_FREE flag description.Alexander Langer1997-12-301-3/+3
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=32118
* Typo fix.Alexander Langer1997-12-301-2/+2
| | | | Notes: svn path=/head/; revision=32114
* Document MS_SYNC.Alexander Langer1997-12-301-0/+1
| | | | Notes: svn path=/head/; revision=32112
* fork() checks RLIMIT_NPROC, not RLIMIT_NOFILE.Tim Vanderhoek1997-12-261-1/+1
| | | | | | | | pr: docs/5260 submitted-by: Niall Smart [3]njs3@doc.ic.ac.uk Notes: svn path=/head/; revision=32001
* Fixed spelling of EACCES.Bruce Evans1997-11-231-3/+3
| | | | Notes: svn path=/head/; revision=31370
* Add cross-references to rfork(2).John Polstra1997-11-182-1/+3
| | | | Notes: svn path=/head/; revision=31220
* Reviewed by: hackers@freebsd.org in generalJulian Elischer1997-11-132-1/+32
| | | | | | | | | | | | | | | | Obtained from: Whistle Communications tree Add an option to the way UFS works dependent on the SUID bit of directories This changes makes things a whole lot simpler on systems running as fileservers for PCs and MACS. to enable the new code you must 1/ enable option SUIDDIR on the kernel. 2/ mount the filesystem with option suiddir. hopefully this makes it difficult enough for people to do this accidentally. see the new chmod(2) man page for detailed info. Notes: svn path=/head/; revision=31144
* Reviewed by: various.Julian Elischer1997-11-121-3/+2
| | | | | | | | | | | | | | | | | | | Ever since I first say the way the mount flags were used I've hated the fact that modes, and events, internal and exported, and short-term and long term flags are all thrown together. Finally it's annoyed me enough.. This patch to the entire FreeBSD tree adds a second mount flag word to the mount struct. it is not exported to userspace. I have moved some of the non exported flags over to this word. this means that we now have 8 free bits in the mount flags. There are another two that might well move over, but which I'm not sure about. The only user visible change would have been in pstat -v, except that davidg has disabled it anyhow. I'd still like to move the state flags and the 'command' flags apart from each other.. e.g. MNT_FORCE really doesn't have the same semantics as MNT_RDONLY, but that's left for another day. Notes: svn path=/head/; revision=31132