summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
Commit message (Collapse)AuthorAgeFilesLines
* Make the warning a bit less 'broad' then it used to be. The accessremko2007-12-081-1/+10
| | | | | | | | | is seems to be a problem for SUID applications, which we like to prevent as much as possible. PR: docs/39530 Submitted by: Soren Spies <sspies at apple dot com> MFC After: 3 days
* Remove extraneous empty lines, to fix mdoc warnings.keramida2007-10-303-7/+3
| | | | MFC after: 3 days
* Bump manpage date, missed during the last change.keramida2007-10-301-1/+1
| | | | MFC after: 3 days
* The .Fx request doesn't recognize 2.2.0, so use ".Fx 2.2"keramida2007-10-301-1/+1
| | | | MFC after: 3 days
* Add a BUGS section to note that mount/chroot changes sincejb2007-10-221-0/+4
| | | | | | | | | a module was loaded might make the pathname inaccurate. I wonder if an inode reference should be stored with the pathname to allow a validity check? Suggested by: rwatson@
* Add the full module path name to the kld_file_stat structurejb2007-10-221-0/+5
| | | | | | | | | | | | | | for kldstat(2). This allows libdtrace to determine the exact file from which a kernel module was loaded without having to guess. The kldstat(2) API is versioned with the size of the kld_file_stat structure, so this change creates version 2. Add the pathname to the verbose output of kldstat(8) too. MFC: 3 days
* Add FreeBSD history.obrien2007-09-211-1/+3
| | | | Approved by: re(ken)
* Use better manuals for these ntp system calls. These were replaced byimp2007-09-153-201/+258
| | | | | | | the netbsd versions, and tweaked by me with suggestions from phk. Reviewed by: phk Approved by: re@
* We've been able to support EVFILT_VNODE filtering on non-UFSru2007-09-071-6/+1
| | | | | | | | file systems since 2005. Submitted by: Igor Sysoev Approved by: re (bmah) MFC after: 3 days
* Add thr_kill2 syscall.davidxu2007-08-221-0/+3
| | | | | Submitted by: Tijl Coosemans tijl at ulyssis dot org Approved by: re (kensmith)
* Take a sentence into the present by removing a reference to FreeBSD 3.0.brueffer2007-07-141-4/+2
| | | | | Approved by: re (blanket) MFC after: 3 days
* Change the C wrappers for mmap/lseek/pread/pwrite/truncate/ftruncate topeter2007-07-046-8/+33
| | | | | | | | | call the pad-less versions of the corresponding syscalls if the running kernel supports it. Check kern.osreldate once per program and cache the result to select the appropriate syscall. This maintains userland compatability with kernel.old's from quite a while back. Approved by: re (kensmith)
* Classify mmap, lseek, pread, pwrite, truncate, ftruncate as pseudopeter2007-07-041-2/+4
| | | | | | | | | | syscalls, unless WITHOUT_SYSCALL_COMPAT is defined. The default case will have the .c wrappers still. If you define WITHOUT_SYSCALL_COMPAT, the .c wrappers will go away and libc will make direct syscalls. After 7-stable starts, the direct syscall method will be default. Approved by: re (kensmith)
* Fix library names.davidxu2007-06-1810-10/+10
|
* Catch up with the code.brueffer2007-06-131-2/+2
| | | | Submitted by: peter
* Expose __stack_chk_fail_local() so -fstack-protector-all works.des2007-06-052-3/+1
|
* Correct spelling errors in comments.rwatson2007-05-281-2/+2
|
* Follow NetBSD, OpenBSD and DragonfyBSD project and add BSD-licensedkan2007-05-193-1/+124
| | | | | SSP functions into FreeBSD libc. Use the same file name and location for consistency with other projects.
* Document RFTHREADpav2007-05-141-1/+9
| | | | | | PR: docs/78915 Submitted by: Marc Olzheim <marcolz@stack.nl> MFC after: 1 week
* Add missing links and sort.pjd2007-04-291-3/+9
|
* Use C comments since we now preprocess these files with CPP.deischen2007-04-291-11/+14
|
* Remove the MSG_PEEK flag from the documentation of the send(2) syscall -roam2007-04-271-1/+0
| | | | | | | | it is only relevant to receiving data from sockets, not to sending. PR: 109667 Submitted by: Jari Kirma <kirma@cs.hut.fi> Approved by: wollman
* Belatedly bump Dd for my recent changes.emaste2007-04-111-1/+1
|
* Document PT_GETNUMLWPS.emaste2007-04-091-0/+3
|
* Describe PT_GETLWPLIST's arguments.emaste2007-04-071-0/+9
|
* Bump date.pjd2007-04-052-2/+2
|
* Implement SEEK_DATA and SEEK_HOLE extensions to lseek(2) as found inpjd2007-04-052-1/+65
| | | | | | OpenSolaris. For more information please refer to: http://blogs.sun.com/bonwick/entry/seek_hole_and_seek_data
* Wordsmithery.bms2007-03-091-1/+1
| | | | Pointed out by: ru
* Document SO_ACCEPTCONN.bms2007-03-081-1/+9
| | | | | Submitted by: Vlad GALU (with changes) MFC after: 3 days
* Fix license. Clause 4 is still required (UCB materiel).bms2007-03-071-6/+5
| | | | | Submitted by: rwatson Pointy hat to: bms
* use 2-clause BSD license as per hoskins strike-off july 22 1999.bms2007-03-071-4/+6
| | | | use wording of FreeBSD License.
* Apply my patch properly.ru2007-03-051-1/+1
|
* Fix markup.bms2007-03-051-22/+36
| | | | | Submitted by: ru MFC after: 2 days
* .Xr nit.bms2007-03-051-2/+2
| | | | Submitted by: brueffer
* Update shutdown() manual page to reflect actual behaviour of code.bms2007-03-051-10/+82
| | | | | | | | Add IMPLEMENTATION NOTES section explaining in detail the effect this system call has in common use cases involving PF_INET and PF_INET6 sockets. PR: kern/84761 MFC after: 2 days
* Fix include declaration it was sys/sctp.h should be netinet/sctp.h,rrs2007-02-263-3/+3
| | | | reported by pluknet@gmail.com.
* First cut of the sctp man pages. Still need work.rrs2007-02-224-0/+247
|
* Fix mis-reference of incorrect manual page in ERRORS section.trhodes2007-02-171-1/+1
| | | | Noticed by: Harlan Stenn <stenn@ntp.isc.org>
* New sentence -> new line. While here, fix apostrophe abuse.brueffer2007-02-141-4/+7
|
* Change the date.julian2007-02-131-1/+1
|
* Make the kse man page reflect the removal of the KSEGRP kernel abstraction.julian2007-02-131-54/+30
|
* Docment the acceptable values for the id parameter.mpp2007-02-011-1/+16
|
* When we try to set set-gid bit with chmod(2) on a file, which we own, but ourpjd2007-01-161-1/+5
| | | | | | effective group ID (and any of our group) doesn't match the group ID of the file, we get EPERM. This doesn't conform POSIX. POSIX requires that we should return 0, but silently clear the set-gid bit.
* Remove 3rd clause, renumber, ok per emailimp2007-01-121-4/+1
|
* o Document SO_TIMESTAMP and SO_BINSTAMP socket options.maxim2007-01-111-2/+46
| | | | | | | | PR: docs/107696 Submitted by: Rob Robertson Reviewed by: ru Obtained from: NetBSD (mostly) MFC after: 1 week
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-09112-448/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Be more specific in ENXIO description:pjd2007-01-071-3/+4
| | | | | | - O_NONBLOCK flag has to be set, if it is not set, open(2) will wait for another process opening the fifo for reading, - Use O_WRONLY which implies that the file has to be opened _only_ for write.
* open(2) returns EROFS when O_CREAT is specified and the named file wouldpjd2007-01-071-0/+3
| | | | reside on a read-only file system.
* - POSIX mentions that EACCES can be returned when O_TRUNC is specifiedpjd2007-01-071-1/+18
| | | | | separately. Do the same. - Document when EPERM can be returned.
* Prefer "to be modified" over "to be opened for writing".pjd2007-01-071-1/+1
| | | | | | | | | | This is quite tricky situation, because we allow to open a file with O_RDONLY|O_TRUNC. O_TRUNC modifies a file, but we actually don't open it for writing. EISDIR is also returned when we try to open a directory O_RDONLY|O_TRUNC, which is correct. POSIX says that "The result of using O_TRUNC with O_RDONLY is undefined.", we choose to accept it (Solaris did the same), that's why "to be modified" seems more accurate to me.
OpenPOWER on IntegriCloud