aboutsummaryrefslogtreecommitdiffstats
path: root/man2/open.2
AgeCommit message (Expand)AuthorFilesLines
2024-05-02man/, share/mk/: Move man*/ to man/Alejandro Colomar1-1941/+0
2024-04-26open.2: protected_* sysctls are defined in proc_sys_fs(5), not proc(5)Emanuele Torre1-1/+1
2024-01-16open.2: srcfixG. Branden Robinson1-1/+3
2023-11-19man*/: srcfixG. Branden Robinson1-2/+7
2023-10-31man*/: srcfix (Use .P instead of .PP or .LP)Alejandro Colomar1-47/+47
2023-05-20open.2, prctl.2: SYNOPSIS: Document these as variadic functionsAlejandro Colomar1-6/+5
2023-05-03man*/, man.ignore.grep: srcfix; warn about blank linesAlejandro Colomar1-4/+4
2023-04-20man*/: ffix, wfixнаб1-1/+1
2023-04-03man*/: ffixAlejandro Colomar1-2/+2
2023-03-30man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sectionsAlejandro Colomar1-136/+132
2023-02-05Many pages: Use \[bu] instead of \(buAlejandro Colomar1-18/+18
2023-02-05Many pages: Use \[ti] instead of \(tiAlejandro Colomar1-1/+1
2023-02-05Many pages: Use \[em] instead of \(emAlejandro Colomar1-3/+3
2023-02-05Many pages: Use \[aq] instead of \(aqAlejandro Colomar1-2/+2
2023-01-22Various pages: wfixAlejandro Colomar1-1/+1
2023-01-07Many pages: TH: Use lowercaseAlejandro Colomar1-1/+1
2022-12-04Many pages: wfixAlejandro Colomar1-11/+11
2022-10-29Many pages: Use a consistent style for listsAlejandro Colomar1-18/+18
2022-10-12statx.2, open.2: document STATX_DIOALIGNEric Biggers1-11/+41
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/+1909
2022-09-05src.mk, All pages: Move man* to man/Alejandro Colomar1-1909/+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-41/+42
2022-03-06Many pages: LIBRARY: srcfixAlejandro Colomar1-1/+1
2022-02-25open.2: Add LIBRARY sectionAlejandro Colomar1-0/+3
2022-02-25Various pages: [Linux-man-pages-copyleft] Use SPDX-License-IdentifierAlejandro Colomar1-21/+1
2021-08-27iconv.1, ldd.1, accept.2, access.2, add_key.2, arch_prctl.2, bpf.2, chmod.2, ...Michael Kerrisk1-1/+1
2021-08-18chmod.2, chown.2, open.2, mkdir.2, mknod.2, readlink.2, stat.2, symlink.2, mk...Michael Kerrisk1-17/+16
2021-08-13open.2: Add mount_setattr(2) to list of 'dirfd' APIsMichael Kerrisk1-0/+1
2021-08-12open.2: Minor tweaks to list of functions that take a dirfd argumentMichael Kerrisk1-1/+2
2021-08-12access.2, chmod.2, chown.2, execveat.2, futimesat.2, link.2, mkdir.2, mknod.2...Michael Kerrisk1-1/+5
2021-08-12open.2: Explicitly describe the EBADF error that can occur with openat()Michael Kerrisk1-0/+13
2021-08-12open.2: Clarify that openat()'s dirfd must be opened with O_RDONLY or O_PATHMichael Kerrisk1-0/+7
2021-08-12open.2: Reorder list of cases for 'dirfd' argument of openat()Michael Kerrisk1-10/+10
2021-08-12open.2: Minor reworking of the description of the 'dirfd' argument of openat()Michael Kerrisk1-2/+8
2021-06-10open.2: Remove unused <sys/stat.h>Alejandro Colomar1-1/+0
2021-05-11open.2: Fix bug in linkat(2) call exampleAlejandro Colomar1-1/+1
2021-03-23open.2: Make it clearer that an FD is an index into the process's FD tableMichael Kerrisk1-1/+3
2021-03-22getent.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, mtrace.1,...Michael Kerrisk1-1/+1
2021-03-15Various pages: Remove unused <sys/types.h>Alejandro Colomar1-1/+0
2021-02-10open.2, rename.2: Refer to tmpfs rather than shmemAlyssa Ross1-1/+1
2021-01-21Various pages: use "\-" to generate real minus in circumstances where appropr...Michael Kerrisk1-1/+1
2021-01-09open.2: wfixMichael Kerrisk1-1/+1
2021-01-07Various pages: Standardize wording around setting of 'errno' on errorMichael Kerrisk1-4/+4
2021-01-06Various pages: Remove redundant escaping of space characters in FTM infoMichael Kerrisk1-1/+1
2021-01-05Various pages: Simplify mark-up for Feature Test Macro requirementsMichael Kerrisk1-12/+6
2020-11-01memusage.1, pldd.1, sprof.1, add_key.2, bind.2, bpf.2, clone.2, dup.2, epoll_...Michael Kerrisk1-1/+1
2020-09-29_exit.2, access.2, acct.2, brk.2, chdir.2, chmod.2, chown.2, chroot.2, clock_...Michael Kerrisk1-2/+2
2020-09-24open.2: ffixMichael Kerrisk1-2/+2
2020-09-07open.2: ERRORS: EBUSYMichael Kerrisk1-0/+8
2020-08-06intro.1, clock_getres.2, clone.2, futex.2, ioctl_fat.2, mkdir.2, mknod.2, mma...Michael Kerrisk1-1/+1
2020-07-31open.2, proc.5: tfixMichael Kerrisk1-1/+1
2020-07-24open.2: Say a bit more about what happens when 'mode' is wrongly omittedMichael Kerrisk1-9/+17
2020-07-24open.2: Minor wording fixesMichael Kerrisk1-1/+5
2020-07-24open.2: srcfix: use saner macros to achieve same formatting effectMichael Kerrisk1-3/+3
2020-07-06open.2: tfixMichael Kerrisk1-1/+1
2020-07-02man2/*: ffix: change '-' to '\-' for optionsBjarni Ingi Gislason1-1/+1
2020-06-21man2/*: srcfix: fix warnings from "mandoc -Tlint"Bjarni Ingi Gislason1-1/+0
2020-06-11dup.2, fallocate.2, futex.2, ioctl_fat.2, ioctl_ficlonerange.2, ioctl_fidedup...Michael Kerrisk1-1/+1
2020-06-10open.2: ffixMichael Kerrisk1-1/+3
2020-06-09iconv.1, locale.1, memusage.1, memusagestat.1, pldd.1, sprof.1, _syscall.2, a...Michael Kerrisk1-1/+1
2020-05-19gettid.2, open.2, seccomp.2, pthread_mutex_consistent.3, signal.7, xattr.7: P...Michael Kerrisk1-1/+1
2020-05-12open.2: Some '*at' APIs have functionality that isn't in conventional APIsMichael Kerrisk1-0/+12
2020-05-12open.2: Explain ways in which a 'directory file descriptor' can be obtainedMichael Kerrisk1-0/+16
2020-05-12open.2: wfixMichael Kerrisk1-1/+1
2020-05-12open.2: Add a few more APIs to list in "Rationale for openat()..."Michael Kerrisk1-0/+3
2020-04-21open.2: ffixMichael Kerrisk1-1/+0
2020-04-21open.2: tfixMichael Kerrisk1-1/+1
2020-04-21open.2: Add openat2() to list of APIs that take a 'dirfd' argumentMichael Kerrisk1-0/+1
2020-04-19open.2: tfixMichael Kerrisk1-1/+1
2020-04-13open.2: Tweaks to Joseph Sible's patchMichael Kerrisk1-2/+11
2020-04-13open.2: Document fs.protected_fifos and fs.protected_regularJoseph C. Sible1-0/+10
2020-04-10accept.2, epoll_create.2, inotify_add_watch.2, open.2, open_by_handle_at.2, p...Michael Kerrisk1-1/+2
2020-04-06open.2: Note EINVAL error for invalid character in basename of 'pathname'Michael Kerrisk1-0/+7
2020-03-30open.2: Clarify that O_NOFOLLOW is relevant (only) for basename of 'pathname'Michael Kerrisk1-1/+3
2020-03-30open.2: Minor tweaks to Aleksa Sarai's patchMichael Kerrisk1-7/+8
2020-03-30open.2: Add references to new openat2(2) pageAleksa Sarai1-0/+17
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-07open.2: In O_TMPFILE example, describe alternative linkat() callMichael Kerrisk1-0/+10
2020-02-07open.2: No need for /proc to make an O_TMPFILE file permanentAdam Borowski1-3/+1
2019-09-24open.2: tfixMichael Kerrisk1-1/+1
2019-01-10open.2: Minor fixes to Eugene's patchMichael Kerrisk1-6/+6
2019-01-10open.2: Mention presence of unused O_RSYNC definitionEugene Syromiatnikov1-0/+4
2019-01-10open.2: tfixMichael Kerrisk1-1/+1
2019-01-10open.2: Minor fixes to Eugene's patchMichael Kerrisk1-3/+3
2019-01-10open.2: Document FASYNC usage in Linux UAPI headersEugene Syromiatnikov1-0/+8
2018-09-28open.2: Minor fix: split distinct ENOENT cases into separate list entriesMichael Kerrisk1-1/+3
2018-05-31open.2: Minor wording fixMichael Kerrisk1-1/+1
2018-05-31open.2: Document ENXIO for socketsLucas Werkmeister1-0/+3
2018-05-18open.2: Clarify a special use case of O_NONBLOCK for devicesMichael Kerrisk1-2/+3
2018-05-18open.2: Clarify that O_NONBLOCK has no effect on poll/epoll/selectMichael Kerrisk1-0/+14
2018-05-18open.2: wfixMichael Kerrisk1-1/+1
2018-05-06open.2: Remove O_DIRECT-related quotationAndrew Price1-6/+0
2018-04-30execve.2, fallocate.2, getrlimit.2, io_submit.2, membarrier.2, mmap.2, msgget...Michael Kerrisk1-1/+1
2018-04-27open.2: Add missing argument for snprintf() in example codeJakub Wilk1-1/+1
2018-03-27open.2: Document more -ETXTBSY conditionsJann Horn1-0/+11
2017-11-09open.2: ffixMichael Kerrisk1-3/+3
2017-11-09open.2: Since glibc 2.26, the open() wrapper always uses the openat() syscallMichael Kerrisk1-0/+10
2017-10-23open.2: tfixG. Branden Robinson1-1/+1
2017-10-20access.2, delete_module.2, eventfd.2, fallocate.2, fcntl.2, getrandom.2, init...Michael Kerrisk1-1/+2
2017-10-20open.2: wfixMichael Kerrisk1-2/+2
2017-09-29open.2: ERRORS: document EINVAL error for invalid filenameMichael Kerrisk1-0/+9
2017-09-28open.2: Clarify that O_TMPFILE creates a *regular* fileMichael Kerrisk1-1/+1
2017-09-28open.2: wfixMichael Kerrisk1-2/+2
2017-09-28open.2: wfixMichael Kerrisk1-1/+1
2017-09-28open.2: Make the purpose of open() a little clearer at the start of the pageMichael Kerrisk1-6/+17
2017-09-28open.2: Make it explicit that O_CREAT creates a regular fileMichael Kerrisk1-1/+3
2017-09-19open.2: tfixMichael Kerrisk1-1/+1
2017-09-19open.2: By contrast with O_RDONLY, no file permissions are required for O_PATHMichael Kerrisk1-0/+18
2017-09-19open.2: Minor technical fixMichael Kerrisk1-1/+2
2017-09-18open.2: Change pathname used in discussion of rationale for openat()Michael Kerrisk1-4/+4
2017-09-16open.2: wfixMichael Kerrisk1-1/+1
2017-09-16open.2: Mention O_PATH file descriptor use with fexecve(3)Michael Kerrisk1-0/+5
2017-09-16open.2: Note use of O_PATH to provide O_EXEC functionalityMichael Kerrisk1-0/+18
2017-09-16open.2: Minor reworking of O_PATH list to separate distinct system callsMichael Kerrisk1-3/+6
2017-09-15iconv.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, mtrace.1, ...Michael Kerrisk1-1/+1
2017-08-18getent.1, intro.1, time.1, _exit.2, alloc_hugepages.2, arch_prctl.2, clock_ge...Michael Kerrisk1-7/+7
2017-08-14open.2: ffixMichael Kerrisk1-57/+59
2017-08-12open.2: Improve O_PATH documentationNeilBrown1-1/+15
2017-06-27open.2: Note some further advantages of the *at() APIsMichael Kerrisk1-1/+11
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-23chmod.2, fsync.2, mkdir.2, mknod.2, open.2, truncate.2, umask.2, utime.2, uti...Michael Kerrisk1-2/+2
2017-04-23getdents.2, open.2, stat.2, statx.2: SEE ALSO: add inode(7)Michael Kerrisk1-0/+1
2017-03-17open.2: Minor wording fixMichael Kerrisk1-2/+1
2017-03-17open.2: Add statx() to list of "at" calls in rationale discussionMichael Kerrisk1-0/+1
2017-03-12open.2: tfixJakub Wilk1-1/+1
2017-02-21open.2: Make it clear that O_APPEND implies atomicityMichael Kerrisk1-0/+3
2017-01-26open.2: Clarify distinction between file creation flags and file status flagsMichael Kerrisk1-1/+3
2017-01-26open.2: Restructure O_NOFOLLOW text for easier parsingMichael Kerrisk1-3/+7
2017-01-26open.2: Note ambiguity of ELOOP error when using O_NOFOLLOWMichael Kerrisk1-1/+5
2017-01-26open.2: Clarify that O_NOFOLLOW is now in POSIXMichael Kerrisk1-1/+2
2016-12-16open.2: tfixMichael Kerrisk1-1/+1
2016-12-12Removed trailing white space at end of linesMichael Kerrisk1-1/+1
2016-12-12bind.2, chmod.2, chown.2, chroot.2, clock_getres.2, clone.2, connect.2, dup.2...Michael Kerrisk1-1/+1
2016-12-05open.2: srcfix: FIXMEMichael Kerrisk1-0/+4
2016-11-06open.2: Document ENOMEM that occurs when opening FIFO because of pipe hard limitMichael Kerrisk1-0/+7
2016-10-13open.2: ubifs supports O_TMPFILE starting with Linux 4.9Michael Kerrisk1-4/+5
2016-10-07open.2: F2FS support for O_TMPFILE was added in Linux 3.16Michael Kerrisk1-2/+5
2016-09-12open.2: Clarify user namespace capability requirements for O_NOATIMEMichael Kerrisk1-2/+15
2016-09-12open.2: Clarify the rules about how the group ID of a new file is determinedMichael Kerrisk1-5/+10
2016-09-12open.2: wfixMichael Kerrisk1-1/+1
2016-09-12open.2: ffixMichael Kerrisk1-0/+1
2016-08-17open.2: Minor layout fix in ERRORSMichael Kerrisk1-1/+3
2016-08-08arch_prctl.2, execveat.2, fanotify_mark.2, fcntl.2, fork.2, madvise.2, mknod....Michael Kerrisk1-1/+1
2016-07-28open.2: NOTES: kcmp() can be used to test if two FDs refer to the same OFDMichael Kerrisk1-0/+7
2016-07-17ldd.1, localedef.1, add_key.2, chroot.2, clone.2, fork.2, futex.2, get_mempol...Michael Kerrisk1-1/+1
2016-06-02open.2: wfixMichael Kerrisk1-1/+2
2016-05-26open.2: Refer to correct functions in description of O_TMPFILEEric Biggers1-2/+2
2016-05-09open.2: tfixDr. Tobias Quathamer1-1/+1
2016-03-15locale.1, localedef.1, _exit.2, accept.2, access.2, acct.2, adjtimex.2, bdflu...Michael Kerrisk1-1/+1
2016-03-11open.2: wfixMichael Kerrisk1-1/+1
2016-03-08open.2: NOTES: mention existence of proc/PID/fd and /proc/PID/fdinfoMichael Kerrisk1-0/+11
2016-03-01access.2, chmod.2, chown.2, link.2, mkdir.2, open.2, readlink.2, rename.2, st...Michael Kerrisk1-1/+1
2016-02-22open.2: fMichael Kerrisk1-2/+4
2016-02-22open.2: O_TMPFILE support in BtrfsMark Post1-2/+2
2016-02-13open.2: Minor wording fixMichael Kerrisk1-1/+2
2016-02-03chown.2, futex.2, membarrier.2, memfd_create.2, mount.2, msgop.2, open.2, ope...Michael Kerrisk1-2/+0
2016-01-01Various pages: Word "descriptor" more preciselyMichael Kerrisk1-3/+3
2015-12-27accept.2, acct.2, epoll_create.2, execve.2, futex.2, inotify_init.2, mmap.2, ...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/+1
2015-12-05mremap.2, open.2, perf_event_open.2, prctl.2, ptrace.2, reboot.2, seccomp.2, ...Michael Kerrisk1-1/+1
2015-08-14open.2: Remove accidental mention of O_TTY_INITMichael Kerrisk1-2/+1
2015-07-24open.2: wfixMichael Kerrisk1-1/+1
2015-05-11open.2, read.2, write.2: Clarify that O_NONBLOCK is a no-op for regular files...Michael Kerrisk1-0/+11
2015-05-11open.2: ffixMichael Kerrisk1-0/+1
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-06open.2: BUGS: O_CREAT | O_DIRECTORY succeeds if pathname does not existMichael Kerrisk1-0/+14
2015-05-06open.2: tfixMichael Kerrisk1-3/+3
2015-04-21open.2: ffixMichael Kerrisk1-1/+5
2015-04-21open.2: open() honors the S_ISVTX, S_ISUID, and S_ISGID bits in 'mode'Michael Kerrisk1-0/+19
2015-04-21open.2: Tighten wording: use 'mode bit' rather than 'permission bit'Michael Kerrisk1-5/+4
2015-04-21mkdir.2, mknod.2, open.2, umask.2: Tweaks to Andreas's patchMichael Kerrisk1-1/+2
2015-04-21umask.2, open.2, mknod.2, mkdir.2: Explain what default ACLs doAndreas Gruenbacher1-1/+2
2015-03-29intro.1, ldd.1, clone.2, getgroups.2, getpid.2, getsockopt.2, ioctl_list.2, m...Michael Kerrisk1-1/+1
2015-03-22open.2: Mention blocking semantics for FIFO opensMichael Kerrisk1-0/+8
2015-03-22open.2: tfixMichael 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-19fallocate.2, mmap.2, open.2, truncate.2, write.2: ERRORS: add EPERM for opera...Michael Kerrisk1-0/+4
2015-01-16open.2: Add execveat(2) in system call list under "Rationale for openat()"Michael Kerrisk1-0/+1
2015-01-13open.2: Refer to RLIMIT_NOFILE for explanation of EMFILE errorMichael Kerrisk1-1/+5
2014-12-31localedef.1, adjtimex.2, clock_nanosleep.2, epoll_ctl.2, ioctl.2, madvise.2, ...Michael Kerrisk1-1/+1
2014-12-26open.2: Enhance rationale discussion for openat() and friendsMichael Kerrisk1-1/+14
2014-10-02ldd.1, execve.2, fanotify_init.2, fanotify_mark.2, getrlimit.2, open.2, readl...Michael Kerrisk1-1/+1
2014-09-26open.2: Fix number and formula in description of EOVERFLOW errorMichael Kerrisk1-2/+2
2014-09-01open.2: tfixChristian von Roques1-1/+1
2014-08-15open.2: tfixSimon Paillard1-2/+2
2014-08-01open.2: wfixMichael Kerrisk1-1/+1
2014-07-08iconv.1, ldd.1, connect.2, dup.2, epoll_ctl.2, eventfd.2, fallocate.2, fcntl....Michael Kerrisk1-1/+1
2014-06-18open.2: O_CLOEXEC is also one the flags not ignored when O_PATH is specifiedMichael Kerrisk1-1/+2
2014-06-17:eventfd.2, fallocate.2, open.2, sendmmsg.2, signalfd.2, proc.5, sched.7, soc...Simon Paillard1-1/+1
2014-06-14Removed trailing white space at end of linesMichael Kerrisk1-2/+2
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-09open.2: Rework and extend the discussion of open file descriptionsMichael Kerrisk1-9/+30
2014-05-21Removed trailing white space at end of linesMichael Kerrisk1-1/+1
2014-05-19open.2: wfixMichael Kerrisk1-2/+2
2014-05-19open.2: wfixMichael Kerrisk1-1/+1