aboutsummaryrefslogtreecommitdiffstats
path: root/man7/unix.7
AgeCommit message (Expand)AuthorFilesLines
2024-05-02man/, share/mk/: Move man*/ to man/Alejandro Colomar1-1227/+0
2024-03-26man*/: EXAMPLES: Add include guardsAlejandro Colomar1-0/+4
2024-03-16unix.7: EXAMPLES: server.c: End connection with ENDLili Püspök1-1/+5
2024-03-12unix.7: Use a 'ssize_t' for the return value of read(2) and write(2)Alejandro Colomar1-21/+23
2024-03-12unix.7: Use 'int' to iterate over 'argv'Alejandro Colomar1-1/+1
2024-03-12unix.7: Use int main(void)Alejandro Colomar1-1/+1
2024-03-12unix.7: Remove spurious #includeAlejandro Colomar1-1/+2
2024-03-12unix.7: Build example programsAlejandro Colomar1-2/+12
2024-02-18man*/: tfixŠtěpán Němec1-2/+2
2023-12-21unix.7: SO_PEERCRED: Mention listen(2)Alexey Tikhonov1-1/+2
2023-10-31man*/: srcfix (Use .P instead of .PP or .LP)Alejandro Colomar1-38/+38
2023-07-15man*/: Use SPDX-License-Identifier: Linux-man-pages-1-paraAlejandro Colomar1-7/+2
2023-05-03man*/, man.ignore.grep: srcfix; warn about blank linesAlejandro Colomar1-62/+62
2023-03-21man*/: Replace links to <sources.redhat.com>Yedidyah Bar David1-1/+1
2023-02-10man*/: srcfix (^ -> \[ha])G. Branden Robinson1-2/+2
2023-02-05Many pages: Use \[bu] instead of \(buAlejandro Colomar1-3/+3
2023-02-05Many pages: Use \[aq] instead of \(aqAlejandro Colomar1-1/+1
2022-12-04Many pages: wfixAlejandro Colomar1-2/+1
2022-10-29Many pages: Use a consistent style for listsAlejandro Colomar1-6/+6
2022-10-29Many pages: Use .TP for tagged paragraphsAlejandro Colomar1-6/+6
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-10-08unix.7: fix section reference wrt lengthMike Frysinger1-1/+1
2022-09-15Various pages: EXAMPLES: Use unsigned types for loop iteratorsAlex Colomar1-1/+1
2022-09-09Revert "src.mk, All pages: Move man* to man/"Alejandro Colomar1-0/+1211
2022-09-05src.mk, All pages: Move man* to man/Alejandro Colomar1-1211/+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-03-20Many pages: Fix style issues reported by `make lint-groff`Alejandro Colomar1-21/+31
2021-10-02unix.7: Add a description for ENFILE.Kuniyuki Iwashima1-0/+3
2021-08-09unix.7: tfixŠtěpán Němec1-1/+1
2021-06-10cmsg.3, unix.7: Refer to seccomp_unotify(2) for an example of SCM_RIGHTS usageMichael Kerrisk1-3/+5
2021-03-22getent.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, mtrace.1,...Michael Kerrisk1-1/+1
2021-01-03Various pages: Use .nf/.fi in SYNOPSISMichael Kerrisk1-2/+2
2020-12-27ioctl_ns.2, keyctl.2, memfd_create.2, pidfd_send_signal.2, poll.2, seccomp.2,...Michael Kerrisk1-19/+19
2020-12-23seccomp.2, circleq.3, list.3, malloc_hook.3, slist.3, stailq.3, tailq.3, ip.7...Michael Kerrisk1-18/+18
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-19ip.7, unix.7: Minor edits to Stephen Smalley's patchesMichael Kerrisk1-9/+9
2020-09-19unix.7: srcfix: rewrap source lines in Stephen Smalley's patchMichael Kerrisk1-11/+9
2020-09-19socket.7, unix.7: Add initial description for SO_PEERSECStephen Smalley1-0/+46
2020-09-11unix.7: Use sizeof() to get buffer size (instead of hardcoding macro name)Alejandro Colomar1-7/+7
2020-09-05sprof.1, eventfd.2, execve.2, futex.2, getdents.2, mprotect.2, open_by_handle...Michael Kerrisk1-2/+1
2020-09-05unix.7: Use sizeof consistentlyAlejandro Colomar1-4/+4
2020-09-04unix.7: wsfixAlejandro Colomar1-2/+2
2020-06-09iconv.1, locale.1, memusage.1, memusagestat.1, pldd.1, sprof.1, _syscall.2, a...Michael Kerrisk1-1/+1
2020-05-31Various pages: retitle EXAMPLE section heading to EXAMPLESMichael Kerrisk1-1/+1
2020-04-06unix.7: Correct exampleHeinrich Schuchardt1-7/+0
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-05unix.7: The PID sent with SCM_CREDENTIALS must match an existing processMichael Kerrisk1-1/+7
2019-10-31unix.7: tfixTorin Carey1-1/+1
2019-10-31unix.7: tfixTorin Carey1-1/+1
2019-08-02pldd.1, bpf.2, chdir.2, clone.2, fanotify_init.2, fanotify_mark.2, intro.2, i...Michael Kerrisk1-1/+1
2019-06-29unix.7: Note SCM_RIGHTS interaction with RLIMIT_NOFILEMichael Kerrisk1-0/+8
2019-02-27locale.1, memusage.1, pldd.1, _syscall.2, add_key.2, bind.2, bpf.2, chown.2, ...Michael Kerrisk1-4/+4
2018-12-23unix.7: wfixMichael Kerrisk1-2/+2
2018-12-23unix.7: Clarify that SO_PASSCRED behaviorMichael Kerrisk1-4/+10
2018-12-23unix.7: Rework SO_PEERCRED text for greater clarityMichael Kerrisk1-9/+13
2018-12-23unix.7: Explicitly note that SO_PASSCRED provides SCM_CREDENTIALS messagesMichael Kerrisk1-1/+3
2018-12-23unix.7: wfixMichael Kerrisk1-1/+2
2018-12-23unix.7: Improve wording describing socket option argument/return valuesMichael Kerrisk1-3/+16
2018-07-28unix.7: wfix: s/foreign process/peer process/Michael Kerrisk1-1/+1
2018-07-28socket.7, unix.7: Move text describing SO_PEERCRED from socket(7) to unix(7)Michael Kerrisk1-0/+21
2018-07-28unix.7: Refer reader to socket(7) for information about SO_PEEK_OFFMichael Kerrisk1-0/+4
2018-07-28unix.7: tfixMichael Kerrisk1-1/+1
2018-07-28unix.7: Document SCM_SECURITY ancillary dataMichael Kerrisk1-3/+17
2018-07-28unix.7: Document SO_PASSSECMichael Kerrisk1-0/+13
2018-07-17unix.7: Ancillary data forms a barrier when receiving on a stream socketMichael Kerrisk1-0/+27
2018-07-15unix.7: One must send at least one byte of real data with ancillary dataMichael Kerrisk1-0/+8
2018-07-15unix.7: Clarify treatment of incoming ancillary data if 'msg_control' is NULLMichael Kerrisk1-2/+10
2018-07-15unix.7: If the buffer to receive SCM_RIGHTS FDs is too small, FDs are closedMichael Kerrisk1-0/+6
2018-07-15unix.7: tfixMichael Kerrisk1-4/+4
2018-07-15unix.7: ffixMichael Kerrisk1-0/+1
2018-07-10unix.7: When sending ancillary data, only one item of each type may be sentMichael Kerrisk1-0/+4
2018-07-10unix.7: tfixMichael Kerrisk1-2/+1
2018-07-10unix.7: Minor wording fixesMichael Kerrisk1-3/+3
2018-07-10unix.7: grfixMichael Kerrisk1-4/+4
2018-07-08unix.7: Note behavior if buffer to receive ancillary data is too smallMichael Kerrisk1-0/+13
2018-07-08unix.7: Enhance the description of SCM_RIGHTSMichael Kerrisk1-2/+10
2018-07-08unix.7: There is a limit on the size of the file descriptor array for SCM_RIGHTSMichael Kerrisk1-0/+13
2018-07-08unix.7: Fix a minor imprecision in description of SCM_CREDENTIALSMichael Kerrisk1-2/+1
2018-07-08unix.7: grfixMichael Kerrisk1-1/+1
2018-07-08unix.7: ffixMichael Kerrisk1-0/+1
2018-04-30execve.2, fallocate.2, getrlimit.2, io_submit.2, membarrier.2, mmap.2, msgget...Michael Kerrisk1-1/+1
2018-04-27unix.7: tfixJakub Wilk1-1/+1
2018-04-12unix.7: ERRORS: add EBADF for sending closed file descriptor with SCM_RIGHTSMichael Kerrisk1-0/+9
2018-04-12unix.7: wfixMichael Kerrisk1-2/+2
2017-10-20capget.2, fanotify_init.2, fcntl.2, ioctl_tty.2, madvise.2, mbind.2, prctl.2,...Michael Kerrisk1-1/+1
2017-09-15iconv.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, mtrace.1, ...Michael Kerrisk1-1/+1
2017-08-19ctime.3, drand48.3, fmtmsg.3, getnameinfo.3, gsignal.3, strftime.3, strptime....Michael Kerrisk1-1/+1
2017-08-19getrlimit.2, signalfd.2, statfs.2, tee.2, dlopen.3, duplocale.3, ftw.3, get_n...Michael Kerrisk1-0/+1
2017-08-19sinh.3, sockatmark.3, stdarg.3, stpcpy.3, syslog.3, system.3, tanh.3, termios...Michael Kerrisk1-2/+2
2017-08-19execve.2, ioctl_console.2, ioctl_iflags.2, ioctl_ns.2, ioctl_userfaultfd.2, k...Michael Kerrisk1-6/+6
2017-08-19ioctl_console.2, ioctl_getfsmap.2, ioctl_iflags.2, ioctl_list.2, ioctl_ns.2, ...Michael Kerrisk1-3/+3
2017-08-16memusage.1, clone.2, eventfd.2, futex.2, getdents.2, ioctl_fat.2, ioctl_ns.2,...Michael Kerrisk1-2/+2
2017-08-16environ.7, epoll.7, feature_test_macros.7, futex.7, ip.7, ipv6.7, locale.7, m...Michael Kerrisk1-30/+30
2017-08-15_exit.2, accept.2, chmod.2, dup.2, getgroups.2, keyctl.2, link.2, mkdir.2, mk...Michael Kerrisk1-1/+1
2017-03-18unix.7: wfixMichael Kerrisk1-2/+2
2017-03-13add_key.2, execve.2, fork.2, fsync.2, getrandom.2, getrlimit.2, getxattr.2, i...Michael Kerrisk1-1/+1
2017-01-16unix.7: Since Linux 3.4, UNIX domain sockets support MSG_TRUNCMichael Kerrisk1-2/+4
2017-01-04unix.7: tfixJakub Wilk1-1/+1
2016-12-17unix.7: Note that the ETOOMANYREFS diagnostic may be backported to older kernelsMichael Kerrisk1-1/+2
2016-12-17unix.7: Document ETOOMANYREFS for SCM_RIGHTS send exceeding RLIMIT_NOFILE limitMichael Kerrisk1-0/+27
2016-12-16unix.7: tfixMichael Kerrisk1-1/+1
2016-07-24unix.7: Remove mention of recvmsg() from discussion of EPIPE errorMichael Kerrisk1-2/+2
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-20unix.7: Update text on socket permissions on other systemsMichael Kerrisk1-1/+1
2016-06-20unix.7: Note that umask / permissions have no effect for abstract socketsMichael Kerrisk1-0/+10
2016-06-20unix.7: Move some abstract socket details to a separate subsectionMichael Kerrisk1-3/+6
2016-06-20unix.7: Move discussion on pathname socket permissions to DESCRIPTIONMichael Kerrisk1-28/+29
2016-06-20unix.7: Minor wording fixesMichael Kerrisk1-6/+4
2016-06-20unix.7: Note that abstract sockets automatically disappear when FDs are closedMichael Kerrisk1-0/+2
2016-06-20unix.7: Minor wording fixMichael Kerrisk1-1/+2
2016-06-20unix.7: Clarify ownership and permissions assigned during socket creationMichael Kerrisk1-18/+26
2016-06-20unix.7: Expand discussion of socket permissionsMichael Kerrisk1-3/+7
2016-06-20unix.7: Enhance statement about changing sockets ownership and permissionsMichael Kerrisk1-1/+6
2016-06-20unix.7: Fix statement about permissions needed to connect to a UNIX doain socketMichael Kerrisk1-1/+2
2016-06-20unix.7: grfixMichael Kerrisk1-2/+2
2016-05-18unix.7: Fix example code: 'ret' check after accept populates 'data_socket'W. Trevor King1-1/+1
2016-03-15locale.1, localedef.1, _exit.2, accept.2, access.2, acct.2, adjtimex.2, bdflu...Michael Kerrisk1-1/+1
2016-02-03accept.2, bind.2, connect.2, getpeername.2, getsockname.2, recv.2, recvmmsg.2...Michael Kerrisk1-6/+6
2016-02-03membarrier.2, crypt.3, dladdr.3, duplocale.3, fmemopen.3, gethostbyname.3, ma...Michael Kerrisk1-3/+0
2016-01-16unix.7: srcfix: remove stray Copyright lineHeinrich Schuchardt1-1/+0
2016-01-08unix.7: Some wording improvementsMichael Kerrisk1-9/+9
2016-01-08unix.7: Minor tweaks to Heinrich's patchMichael Kerrisk1-22/+24
2016-01-08unix.7: Add exampleHeinrich Schuchardt1-4/+276
2016-01-08unix.7: Introduce term "sequenced-packet" for SOCK_SEQPACKETMichael Kerrisk1-1/+2
2015-05-07Removed trailing white space at end of linesMichael Kerrisk1-1/+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-06unix.7: Note the 108 bytes for sun_path is how things are done on LinuxMichael Kerrisk1-0/+3
2015-05-06unix.7: Remove mention of UNIX_PATH_MAXMichael Kerrisk1-3/+3
2015-02-21time.1, access.2, arch_prctl.2, cacheflush.2, capget.2, clone.2, execve.2, fc...Michael Kerrisk1-1/+1
2015-02-21unix.7: Mention SOCK_STREAM socket for ioctl_type of ioctl()Jan Chaloupka1-2/+12
2014-12-31localedef.1, adjtimex.2, clock_nanosleep.2, epoll_ctl.2, ioctl.2, madvise.2, ...Michael Kerrisk1-1/+1
2014-11-09unix.7: Fix buglet in code snippet in BUGS sectionMichael Kerrisk1-1/+1
2014-11-08unix.7: grfixMichael Kerrisk1-1/+1
2014-10-15Removed trailing white space at end of linesMichael Kerrisk1-3/+3
2014-10-15readlink.2, readv.2, pthread_rwlockattr_setkind_np.3, signal.7, unix.7: tstampMichael Kerrisk1-1/+1
2014-10-14unix.7: Various additions and rewordingsMichael Kerrisk1-22/+193
2014-08-21adjtimex.2, bind.2, cacheflush.2, clone.2, fallocate.2, fanotify_init.2, fano...Michael Kerrisk1-1/+1
2014-01-18unix.7: wfixMichael Kerrisk1-2/+2
2014-01-02proc.5, unix.7: grfixMichael Kerrisk1-1/+1
2013-08-08intro.1, time.1, access.2, acct.2, alloc_hugepages.2, bind.2, chdir.2, chmod....Michael Kerrisk1-8/+8
2013-08-01unix.7: ffixMichael Kerrisk1-1/+3
2013-03-12epoll_create.2, epoll_ctl.2, epoll_wait.2, eventfd.2, fallocate.2, futex.2, g...Michael Kerrisk1-1/+1
2013-03-10ldd.1, capget.2, clone.2, create_module.2, fallocate.2, futex.2, get_kernel_s...Michael Kerrisk1-0/+1
2013-03-10getcpu.2, sendfile.2, cmsg.3, rtnetlink.3, arp.7, ddp.7, fifo.7, icmp.7, ip.7...Michael Kerrisk1-0/+2
2013-02-24getent.1, intro.1, time.1, _exit.2, _syscall.2, accept.2, access.2, acct.2, a...Michael Kerrisk1-1/+1
2013-02-24intro.1, time.1, _syscall.2, accept.2, brk.2, capget.2, faccessat.2, futimesa...Michael Kerrisk1-4/+4
2012-10-24intro.1, add_key.2, get_mempolicy.2, get_thread_area.2, intro.2, keyctl.2, mb...Michael Kerrisk1-2/+1
2012-05-11futimesat.2, mount.2, confstr.3, iconv.3, makedev.3, malloc.3, strcasecmp.3, ...Michael Kerrisk1-1/+1
2012-05-07unix.7: tfixDavid Prévot1-1/+1
2012-05-07icmp.7, ipv6.7, packet.7, raw.7, rtnetlink.7, unix.7, x25.7: Remove names of ...Michael Kerrisk1-1/+1
2012-04-17unix.7: Add a detail on autobind featureMichael Kerrisk1-2/+5
2011-09-28readlink.2, getsubopt.3, termcap.5, tzfile.5, unix.7: srcfix: change single q...Michael Kerrisk1-1/+1
2011-09-16unix.7: Add pointer to cmsg(3) for an example of use of SCM_RIGHTSMichael Kerrisk1-1/+6
2011-09-16unix.7: wfixJoey Adams1-1/+1
2011-09-16unix.7: wfixSeonghun Lim1-1/+1
2010-11-15unix.7: wfixMichael Kerrisk1-3/+3
2010-11-15unix.7: ffixMichael Kerrisk1-1/+2
2010-11-15unix.7: Added ENOENT errorMichael Kerrisk1-1/+6
2010-11-15unix.7: Reworded the text of various errorsMichael Kerrisk1-7/+7
2010-11-15unix.7: ffixYuri Kozlov1-1/+2
2010-11-01Changes, clone.2, mount.2, nanosleep.2, sigaltstack.2, statfs.2, timer_settim...Michael Kerrisk1-1/+1
2010-10-12recv.2, cmsg.3, unix.7: global fix: s/UNIX socket/UNIX doamin socket/Michael Kerrisk1-3/+3
2010-10-12intro.1, time.1, accept.2, bind.2, connect.2, execve.2, flock.2, getdents.2, ...Michael Kerrisk1-14/+14
2010-10-10unix.7: Document the autobind featureMichael Kerrisk1-0/+17
2010-10-10unix.7: Fix description of "pathname" socketsMichael Kerrisk1-1/+1
2010-10-10unix.7: Fix description of abstract socket namesMichael Kerrisk1-12/+14
2010-10-10unix.7: wfixMichael Kerrisk1-1/+1
2010-09-11unix.7: spfixMichael Kerrisk1-1/+1
2010-09-10fcntl.2, intro.2, open.2, poll.2, ftw.3, intro.3, matherr.3, system.3, tmpnam...Michael Kerrisk1-1/+3
2010-09-10unix.7: Document SIOCINQ ioctl() operationMichael Kerrisk1-1/+39
2010-01-16accept.2, access.2, acct.2, clock_nanosleep.2, mbind.2, mincore.2, remap_file...Michael Kerrisk1-1/+1
2010-01-16execve.2, fallocate.2, futex.2, sched_rr_get_interval.2, select_tut.2, shmget...Michael Kerrisk1-1/+1
2008-12-05unix.7: Unix domain sockets don't support the recv() MSG_TRUNC flagMichael Kerrisk1-0/+8
2008-12-05unix.7: Retitled subsection "(Un)supported features" to "Sockets API"Michael Kerrisk1-2/+2
2008-12-05unix.7: tfixMichael Kerrisk1-1/+1
2008-09-01Since glibc 2.8, _GNU_SOURCE must be defined in order to getMichael Kerrisk1-1/+9
2008-08-08s/PF_/AF_/ for socket family constants. Reasons: the AF_ andMichael Kerrisk1-9/+9
2008-08-08Reverting blunder in commit 4699Michael Kerrisk1-8/+359
2008-08-08s/PF_/AF_/ for socket family conistants. Reasons: the AF_ andMichael Kerrisk1-359/+8
2008-07-01ffixMichael Kerrisk1-1/+1
2008-06-12Removed trailing white space at end of linesMichael Kerrisk1-1/+1
2008-06-11Provide a clear description of the three types of address that canMichael Kerrisk1-26/+67
2008-06-09s/\\'/\\(aq/Michael Kerrisk1-1/+1
2008-06-05s/'/\\'/ to improve rendering in UTF-8.Michael Kerrisk1-1/+1
2008-05-07s/since kernel x.y.z/since Linux s.y.z/Michael Kerrisk1-1/+1
2008-03-19s/filesystem/file system/Michael Kerrisk1-4/+4
2007-12-19Make the standard indent for code samples, shell sessionMichael Kerrisk1-4/+4
2007-09-20Change mtk's email addressMichael Kerrisk1-2/+2
2007-08-27Order ERRORS alphabetically.Michael Kerrisk1-29/+29
2007-06-23ffixMichael Kerrisk1-7/+7
2007-06-22ffixMichael Kerrisk1-7/+21
2007-06-21strip trailing white spaceMichael Kerrisk1-1/+1
2007-06-08Convert to American spelling conventionsMichael Kerrisk1-1/+1
2007-06-08Add SEE ALSO link to new credentials.7.Michael Kerrisk1-0/+1
2007-05-28Added EXAMPLE section with pointer to bind.2 EXAMPLE.Michael Kerrisk1-0/+3
2007-05-21Removed out-of-date FIXMEMichael Kerrisk1-1/+0
2007-05-19Fix inconsistencies in order of .SH sectionsMichael Kerrisk1-38/+39
2007-05-18Fix inconsistencies in .TH lineMichael Kerrisk1-1/+1