aboutsummaryrefslogtreecommitdiffstats
path: root/man2/fcntl.2
AgeCommit message (Expand)AuthorFilesLines
2024-05-02man/, share/mk/: Move man*/ to man/Alejandro Colomar1-2113/+0
2024-03-03man*/: epoll_*(), fcntl(), flock(), ioctl(), msgctl(), *prctl(), ptrace(), qu...Alejandro Colomar1-35/+35
2023-10-31man*/: srcfix (Use .P instead of .PP or .LP)Alejandro Colomar1-63/+63
2023-10-23man*/: ffix (Use '.TQ' where appropriate)Alejandro Colomar1-1/+3
2023-03-30man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sectionsAlejandro Colomar1-32/+35
2023-02-05Many pages: Use \[bu] instead of \(buAlejandro Colomar1-2/+2
2023-02-05Many pages: Use lowercase for 'glibc'Alejandro Colomar1-1/+1
2022-12-04Many pages: wfixAlejandro Colomar1-8/+7
2022-10-30Many pages: Use correct letter case in page titles (TH)Alejandro Colomar1-1/+1
2022-10-29Many pages: Use a consistent style for listsAlejandro Colomar1-2/+2
2022-10-09dist.mk, All pages: .TH: Generate date at 'make dist'Alejandro Colomar1-1/+1
2022-10-09getent.1, iconv.1, intro.1, ldd.1, locale.1, localedef.1, memusage.1, memusag...Alejandro Colomar1-1/+1
2022-09-09Revert "src.mk, All pages: Move man* to man/"Alejandro Colomar1-0/+2109
2022-09-05src.mk, All pages: Move man* to man/Alejandro Colomar1-2109/+0
2022-08-21All pages: Remove the 5th argument to .THAlejandro Colomar1-1/+1
2022-08-21All pages: Replace the 4th argument to .TH by "Linux man-pages (unreleased)"Alejandro Colomar1-1/+1
2022-07-29Many pages: Use STANDARDS instead of CONFORMING TOAlejandro Colomar1-1/+1
2022-03-20Many pages: Fix style issues reported by `make lint-groff`Alejandro Colomar1-63/+63
2022-03-06Many pages: LIBRARY: srcfixAlejandro Colomar1-1/+1
2022-02-25fcntl.2: Add LIBRARY sectionAlejandro Colomar1-0/+3
2022-02-25Various pages: [Linux-man-pages-copyleft] Use SPDX-License-IdentifierAlejandro Colomar1-21/+1
2021-10-03fcntl.2: note that mandatory locking is fully deprecated as of v5.15Jeff Layton1-1/+1
2021-04-05fcntl.2: Remove unused includeAlejandro Colomar1-1/+0
2021-03-22getent.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, mtrace.1,...Michael Kerrisk1-1/+1
2021-01-21Various pages: use "\-" to generate real minus in circumstances where appropr...Michael Kerrisk1-2/+2
2021-01-21Various pages: use real minus signs in pathnamesMichael Kerrisk1-3/+3
2021-01-07Various pages: Standardize wording around setting of 'errno' on errorMichael Kerrisk1-1/+1
2020-12-21getent.1, access.2, cacheflush.2, chroot.2, clock_getres.2, fcntl.2, getrusag...Michael Kerrisk1-1/+1
2020-11-15getent.1, fanotify_mark.2, fcntl.2, futex.2, membarrier.2, mmap.2, mount.2, m...Alejandro Colomar1-1/+1
2020-08-13intro.1, clock_getres.2, execve.2, fcntl.2, iopl.2, lseek.2, mknod.2, mmap.2,...Michael Kerrisk1-1/+1
2020-07-24Various pages: Drop t comment headerMike Frysinger1-1/+0
2020-04-19fcntl.2: wfixMichael Kerrisk1-1/+1
2020-02-23getent.1, localedef.1, clock_nanosleep.2, fcntl.2, getitimer.2, getsockopt.2,...Michael Kerrisk1-2/+2
2020-02-09_exit.2, capget.2, fcntl.2, futex.2, listen.2, memfd_create.2, modify_ldt.2, ...Michael Kerrisk1-1/+1
2020-02-08fcntl.2: Further tweaks to F_SEAL_FUTURE_WRITE textMichael Kerrisk1-6/+8
2020-02-08fcntl.2: Note kernel version for F_SEAL_FUTURE_WRITEMichael Kerrisk1-1/+1
2020-02-08fcntl.2: Minor tweaks to Joel Fernandes's patchMichael Kerrisk1-3/+3
2020-02-08fcntl.2: srcfix: rewrap source linesMichael Kerrisk1-2/+3
2020-02-08fcntl.2: ffixMichael Kerrisk1-2/+2
2020-02-08fcntl.2: Update manpage with new memfd F_SEAL_FUTURE_WRITE sealJoel Fernandes (Google)1-0/+15
2019-03-06getent.1, iconv.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, ...Michael Kerrisk1-1/+1
2019-02-25fcntl.2: Briefly explain the meaning of the 'l_sysid' field in 'struct flock'Michael Kerrisk1-1/+2
2019-02-25fcntl.2: Mention that l_sysid is not used even if presentEugene Syromyatnikov1-1/+3
2018-10-16getrlimit.2, ioprio_set.2, msgop.2, select.2: Remove superfluous uses of the ...Michael Kerrisk1-1/+1
2018-09-12fcntl.2: Actual pipe capacity may in practice be less than nominal capacityMichael Kerrisk1-0/+5
2018-02-02iconv.1, bpf.2, copy_file_range.2, fcntl.2, memfd_create.2, mlock.2, mount.2,...Michael Kerrisk1-1/+1
2017-12-19fcntl.2: wfixMichael Kerrisk1-2/+4
2017-12-19fcntl.2: wfix: clarify meaning of "network parition"Michael Kerrisk1-1/+2
2017-12-19fcntl.2, read.2, write.2: Document "Lost locks" as cause for EIO.NeilBrown1-0/+24
2017-10-20access.2, delete_module.2, eventfd.2, fallocate.2, fcntl.2, getrandom.2, init...Michael Kerrisk1-1/+1
2017-10-20capget.2, fanotify_init.2, fcntl.2, ioctl_tty.2, madvise.2, mbind.2, prctl.2,...Michael Kerrisk1-4/+4
2017-09-28fcntl.2: Inode read-write hints persist only until the filesystem is unmountedMichael Kerrisk1-0/+2
2017-09-16fcntl.2: tfixJakub Wilk1-1/+1
2017-09-15iconv.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, mtrace.1, ...Michael Kerrisk1-1/+1
2017-09-15fcntl.2: Correct argument type for read-write hintsMichael Kerrisk1-4/+4
2017-09-15fcntl.2: More fixes to Jens Axboe's text on read/write hintsMichael Kerrisk1-7/+12
2017-09-15fcntl.2: Various improvements to Jens Axboe's patchMichael Kerrisk1-13/+28
2017-09-15fcntl.2: Elaborate on the meaning of "write lifetime hints"Michael Kerrisk1-1/+3
2017-09-15fcntl.2: srcfixMichael Kerrisk1-7/+5
2017-09-15fcntl.2: wfixMichael Kerrisk1-10/+10
2017-09-15fcntl.2: srcfixMichael Kerrisk1-4/+9
2017-09-15fcntl.2: Describe the set/get write hints commands that are added in Linux 4.13Jens Axboe1-0/+58
2017-08-18add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, ...Michael Kerrisk1-5/+5
2017-08-17fcntl.2, ioctl_tty.2, kcmp.2, prctl.2, semop.2, swapon.2, atof.3, atoi.3, bse...Michael Kerrisk1-1/+1
2017-08-13fcntl.2: ffixMichael Kerrisk1-62/+62
2017-05-03_exit.2, alarm.2, chmod.2, clone.2, epoll_ctl.2, fcntl.2, fork.2, fsync.2, ge...Michael Kerrisk1-1/+1
2017-04-10fcntl.2: File seals are not generally applicable to tmpfs(5) filesMichael Kerrisk1-5/+2
2017-04-10fcntl.2: Mention memfd_create() in the discussion of file sealsMichael Kerrisk1-0/+6
2016-11-07fallocate.2, fcntl.2, lseek.2, madvise.2, memfd_create.2, mmap.2, remap_file_...Michael Kerrisk1-1/+1
2016-11-06fcntl.2: F_GETPIPE_SZ allocates next power-of-2 multiple of requested sizeMichael Kerrisk1-1/+4
2016-11-06fcntl.2: Add EPERM that occurs for F_SETPIPE_SZ when user pipe limit is reachedMichael Kerrisk1-0/+7
2016-10-08memusage.1, memusagestat.1, pldd.1, accept.2, adjtimex.2, arch_prctl.2, bdflu...Michael Kerrisk1-1/+1
2016-09-12fcntl.2: Note an important detail of F_SETOWN permission rules for signalsMichael Kerrisk1-0/+7
2016-09-12fcntl.2: Make the description of the effect of close-on-exec a little clearerMichael Kerrisk1-3/+10
2016-09-12fcntl.2: Clarify that F_GETFD and F_GETFL return flags via the function resultMichael Kerrisk1-2/+3
2016-08-24fcntl.2: Minor wording fix for F_DUPFDMichael Kerrisk1-5/+4
2016-08-17fcntl.2: ffixMichael Kerrisk1-0/+2
2016-08-08arch_prctl.2, execveat.2, fanotify_mark.2, fcntl.2, fork.2, madvise.2, mknod....Michael Kerrisk1-3/+3
2016-06-26acct.2, chmod.2, fcntl.2, mmap.2, mprotect.2, rmdir.2, times.2: tfixMichael Kerrisk1-1/+1
2016-05-26fnctl.2: tfix - remove duplicate paragraph in NOTESIustin Pop1-4/+0
2016-05-03fcntl.2: wfixMichael Kerrisk1-6/+4
2016-04-18fcntl.2: Note that mandatory locking is now governed by a configuration optionMichael Kerrisk1-0/+6
2016-03-15locale.1, localedef.1, _exit.2, accept.2, access.2, acct.2, adjtimex.2, bdflu...Michael Kerrisk1-1/+1
2016-03-11fcntl.2: Rework description of F_SETOWNMichael Kerrisk1-14/+17
2016-03-01fcntl.2: Remove mention of _BSD_SOURCE to get definition of F_SETOQN/F_GETOWNMichael Kerrisk1-2/+2
2016-02-15fcntl.2, flock.2: SEE ALSO: add lslocks(8)Michael Kerrisk1-1/+2
2016-01-01Various pages: Word "descriptor" more preciselyMichael Kerrisk1-8/+8
2015-12-30fcntl.2: tfixJakub Wilk1-1/+1
2015-12-29accept.2, acct.2, bind.2, clock_getres.2, connect.2, dup.2, epoll_create.2, e...Michael Kerrisk1-1/+1
2015-12-27accept.2, dup.2, eventfd.2, execve.2, fcntl.2, memfd_create.2, open.2, perf_e...Michael Kerrisk1-1/+2
2015-12-07fcntl.2: tfixJakub Wilk1-1/+1
2015-07-03fcntl.2: ffixMichael Kerrisk1-2/+2
2015-05-20fcntl.2: OFD locks are proposed for inclusion in the next POSIX revisionMichael Kerrisk1-0/+4
2015-05-07add_key.2, chown.2, epoll_ctl.2, epoll_wait.2, execve.2, fcntl.2, get_mempoli...Michael Kerrisk1-1/+1
2015-05-04fcntl.2: Note an F_SETSIG corner caseMichael Kerrisk1-0/+13
2015-05-04fcntl.2: tfixMichael Kerrisk1-1/+1
2015-05-04fcntl.2: tfixMichael Kerrisk1-1/+1
2015-03-02fcntl.2: tfixDmitry Deshevoy1-1/+1
2015-02-21time.1, access.2, arch_prctl.2, cacheflush.2, capget.2, clone.2, execve.2, fc...Michael Kerrisk1-1/+1
2015-02-21fcntl.2: Clarify cases of conflict between traditional record and OFD locksMichael Kerrisk1-1/+4
2015-01-22Removed trailing white space at end of linesMichael Kerrisk1-1/+1
2015-01-22_exit.2, dup.2, execve.2, execveat.2, fallocate.2, fcntl.2, get_robust_list.2...Michael Kerrisk1-1/+1
2015-01-19fcntl.2: ERRORS: add EBUSY case for F_SETPIPE_SZMichael Kerrisk1-0/+9
2015-01-19fcntl.2: ERRORS: add open file description lock error casesMichael Kerrisk1-6/+16
2015-01-19fcntl.2: wfixMichael Kerrisk1-1/+5
2015-01-19fcntl.2: wfixMichael Kerrisk1-3/+4
2015-01-19fcntl.2: ERRORS: add various file-sealing error casesMichael Kerrisk1-2/+19
2015-01-19fcntl.2: Edits and additions after review by David HerrmannMichael Kerrisk1-26/+17
2015-01-19fcntl.2: Minor rewordingMichael Kerrisk1-3/+3
2015-01-19fcntl.2: srcfixMichael Kerrisk1-5/+6
2015-01-19fcntl.2: tfixMichael Kerrisk1-1/+1
2015-01-19fcntl.2: wfixMichael Kerrisk1-1/+1
2015-01-19fcntl.2: tfixMichael Kerrisk1-1/+1
2015-01-19fcntl.2: Document EPERM for case where file already has F_SEAL_SEAL sealMichael Kerrisk1-1/+3
2015-01-19fcntl.2: F_ADD_SEALS requires that 'fd' be writableMichael Kerrisk1-0/+11
2015-01-19fcntl.2: wfixMichael Kerrisk1-2/+2
2015-01-19fcntl.2: srcfix: Add some FIXMEsMichael Kerrisk1-0/+2
2015-01-19fcntl.2: Reorder text describing sealingMichael Kerrisk1-28/+39
2015-01-19fcntl.2: Add statement about F_ADD_SEALS and F_GET_SEALS under CONFORMING TOMichael Kerrisk1-0/+6
2015-01-19fcntl.2: Add EINVAL error F_ADD_SEALSMichael Kerrisk1-0/+12
2015-01-19fcntl.2: Reformat EINVAL error textMichael Kerrisk1-4/+10
2015-01-19fcntl.2: Various edits; add some FIXMEsMichael Kerrisk1-14/+34
2015-01-19fcntl.2: tfixMichael Kerrisk1-1/+1
2015-01-19fcntl.2: srcfix: start new sentences on new lines; rewrap source linesMichael Kerrisk1-33/+43
2015-01-19fcntl.2: Document F_ADD_SEALS and F_GET_SEALS commandsDavid Herrmann1-0/+109
2015-01-13fcntl.2: Add reference to RLIMIT_NOFILE for F_DUPFD EINVAL error on 'arg'.Michael Kerrisk1-1/+5
2014-09-15fcntl.2: tfixDavid Prévot1-1/+1
2014-09-07memusage.1, memusagestat.1, connect.2, fcntl.2, poll.2, errno.3, rtnetlink.3,...Michael Kerrisk1-1/+1
2014-08-21fcntl.2: srcfixMichael Kerrisk1-1/+0
2014-08-21fcntl.2: One must define _GNU_SOURCE to get the F_OFD_* definitionsMichael Kerrisk1-1/+3
2014-07-08iconv.1, ldd.1, connect.2, dup.2, epoll_ctl.2, eventfd.2, fallocate.2, fcntl....Michael Kerrisk1-1/+1
2014-07-08fcntl.2: Suggest the use of real-time signals with F_NOTIFYMichael Kerrisk1-0/+5
2014-07-08fcntl.2: ERRORS: Document ENOTDIR error for F_NOTIFYMichael Kerrisk1-0/+8
2014-07-05fcntl.2: Use proper page cross-references in F_NOTIFY discussionMichael Kerrisk1-6/+34
2014-07-01fcntl.2: The return value for F_SETPIPE_SZ is the pipe capacityMichael Kerrisk1-4/+2
2014-06-14Removed trailing white space at end of linesMichael Kerrisk1-1/+1
2014-06-13localedef.1, execve.2, fcntl.2, flock.2, lseek.2, open.2, open_by_handle_at.2...Michael Kerrisk1-1/+1
2014-06-12fcntl.2: wfixMichael Kerrisk1-2/+2
2014-06-09fcntl.2: Add notes on F_SETLKW deadlock detection and its limitationsMichael Kerrisk1-1/+44
2014-06-09fcntl.2: wfixMichael Kerrisk1-0/+1
2014-06-09fcntl.2: The kernel does not perform deadlock detection for OFD locksMichael Kerrisk1-0/+7
2014-06-09fcntl.2: Under OFD locks add a reference to open(2) for explanation of OFDsMichael Kerrisk1-0/+2
2014-06-09fcntl.2: Explain POSIX background to EACCES/EAGAIN error for F_GETLKMichael Kerrisk1-0/+2
2014-06-09fcntl.2: F_OFD_GETLK fails with EAGAIN when there is a lock conflictMichael Kerrisk1-3/+0
2014-06-09fcntl.2: Describe how to check whether the kernel supports a particular commandMichael Kerrisk1-0/+11
2014-06-09fcntl.2: ERRORS: add EINVAL for invalid 'cmd'Michael Kerrisk1-0/+5
2014-06-09fcntl.2: Minor wording improvementMichael Kerrisk1-4/+4
2014-06-09fcntl.2: Add an explicit note that mandatory locking is not in POSIXMichael Kerrisk1-1/+4
2014-06-09fcntl.2: Make the warning that mandatory locks are unreliable more prominentMichael Kerrisk1-3/+4
2014-06-09fcntl.2: wfixMichael Kerrisk1-1/+1
2014-06-09fcntl.2: Rewrite introductory paragraphs on mandatory lockingMichael Kerrisk1-3/+3
2014-06-09fcntl.2: Add EINVAL error for OFD locks where 'l_pid' is not 0Michael Kerrisk1-0/+11
2014-06-09fcntl.2: CONFORMING TO: note that OFD locks are Linux-specificMichael Kerrisk1-0/+8
2014-06-09fcntl.2: Describe semantics for compatible and conflicting OFD locksMichael Kerrisk1-3/+22
2014-06-09fcntl.2: Detail the limitations of traditional (process-associated) locksMichael Kerrisk1-14/+28
2014-06-09fcntl.2: Minor fixes to introductory par on OFD locksMichael Kerrisk1-5/+3
2014-06-09fcntl.2: OFD locks are Linux-specific and available since Linux 3.15Michael Kerrisk1-0/+2
2014-06-09fcntl.2: Tweaks and rewrites of pieces of Jeff Layton's patchMichael Kerrisk1-53/+54
2014-06-09fcntl.2: Document open file description locksJeff Layton1-3/+106
2014-06-09fcntl.2: Add para introducing advisory locks and noting existence of OFD locksMichael Kerrisk1-0/+5
2014-06-09fcntl.2: Minor change: move some NOTES text on record lockingMichael Kerrisk1-0/+21
2014-06-09fcntl.2: wfix + ffix: fine-tuning on NFSv4 client locking textMichael Kerrisk1-1/+2
2014-06-09fcntl.2: Add NOTES subhead for record locking and NFSMichael Kerrisk1-1/+1
2014-06-09fcntl.2: nfsv4leasetime controls the "contact lost" interval for NFSv4Michael Kerrisk1-4/+15
2014-06-09fcntl.2: Refine discussion of locks when NFSv4 client loses contact with serverMichael Kerrisk1-2/+12
2014-06-09fcntl.2: Note treatment of locks when an NFS client loses contact with the se...Michael Kerrisk1-0/+25
2014-06-09fcntl.2: Minor rewordingMichael Kerrisk1-2/+2
2014-06-09fcntl.2: srcfixMichael Kerrisk1-0/+1
2014-06-09fcntl.2: Reword discussion of mandatory lock bug a litteMichael Kerrisk1-2/+8
2014-05-21chown.2, fcntl.2, futex.2, recvmmsg.2, sched_setscheduler.2, semget.2, shmget...Michael Kerrisk1-1/+1
2014-05-15fcntl.2: Add "file locking" subheading under NOTESMichael Kerrisk1-5/+6
2014-04-20fcntl.2: Note the race when O_CLOEXEC is used at same time as fork()+execve()Michael Kerrisk1-1/+16
2014-03-26fcntl.2: grfixMichael Kerrisk1-1/+1
2014-03-18fcntl.2, strtol.3, strtoul.3, socket.7: ffix in feature test macro namesMichael Kerrisk1-1/+1
2014-03-16fcntl.2: spfixMichael Kerrisk1-1/+1
2014-02-20fcntl.2: Warn that F_GETLK info may already be out of date when the call returnsMichael Kerrisk1-1/+4
2014-02-20fcntl.2: Minor fix: reorder constants to match order of accompanying textMichael Kerrisk1-1/+4
2014-02-11Removed trailing white space at end of linesMichael Kerrisk1-1/+1
2014-02-05fcntl.2, msgget.2, ptrace.2, request_key.2, shmget.2, sigaction.2, syscalls.2...Michael Kerrisk1-3/+3
2014-01-22fcntl.2: POSIX.1 specifies F_SETOWN and F_GETOWN for sockets/SIGURGMichael Kerrisk1-3/+11
2014-01-22fcntl.2: BUGS: The O_SYNC and O_DSYNC flags are not modifiable using F_SETFLMichael Kerrisk1-4/+18
2014-01-21fcntl.2: Add susbsections under BUGSMichael Kerrisk1-2/+3
2013-08-08intro.1, time.1, access.2, acct.2, alloc_hugepages.2, bind.2, chdir.2, chmod....Michael Kerrisk1-4/+4
2013-08-01fcntl.2: ffixMichael Kerrisk1-1/+1
2013-04-01intro.1, _syscall.2, access.2, arch_prctl.2, cacheflush.2, chown.2, clock_get...Michael Kerrisk1-3/+3
2013-03-10intro.1, _exit.2, access.2, alarm.2, alloc_hugepages.2, arch_prctl.2, bind.2,...Michael Kerrisk1-1/+1
2013-03-10intro.1, _exit.2, access.2, alarm.2, alloc_hugepages.2, arch_prctl.2, bind.2,...Michael Kerrisk1-0/+2
2013-03-10_exit.2, access.2, acct.2, adjtimex.2, alarm.2, alloc_hugepages.2, arch_prctl...Michael Kerrisk1-2/+0
2013-02-24intro.1, time.1, _syscall.2, accept.2, capget.2, clone.2, execve.2, fcntl.2, ...Michael Kerrisk1-8/+8
2013-02-24getent.1, intro.1, time.1, _exit.2, _syscall.2, accept.2, access.2, acct.2, a...Michael Kerrisk1-3/+3
2012-09-24arch_prctl.2, fcntl.2, flock.2, get_robust_list.2, getpriority.2, ioprio_set....David Prévot1-6/+5
2012-04-15fcntl.2: Explain behaviour of F_GETLEASE during lease breakAbhijith Das1-1/+11
2012-03-30fcntl.2: Change type of arg from "long" to "int"Michael Kerrisk1-10/+10
2012-03-25fcntl.2: wfix: /proc/sys/fs/pipe-size-max ==> /proc/sys/fs/pipe-max-sizeMichael Kerrisk1-3/+3
2011-09-16fcntl.2, recv.2, crypt.3, err.3, strtoul.3, proc.5: tstampMichael Kerrisk1-1/+1
2011-09-16fcntl.2: Note that F_GETFL also retrieves file access modeMichael Kerrisk1-1/+1
2011-09-16fcntl.2: wfixMichael Kerrisk1-1/+1
2010-11-21truncate.2: Minor rewordingMichael Kerrisk1-3/+2
2010-11-21fcntl.2: Add notes on fcntl64()Michael Kerrisk1-1/+23
2010-11-01clone.2, fcntl.2, euidaccess.3, getopt.3: tstampMichael Kerrisk1-1/+1