OSDN Git Service

(split) LDP: Update original to v3.37.
[linuxjm/LDP_man-pages.git] / original / man2 / syscalls.2
index 9a5d3b6..1368297 100644 (file)
@@ -26,7 +26,7 @@
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
-.TH SYSCALLS 2 2010-03-06 "Linux" "Linux Programmer's Manual"
+.TH SYSCALLS 2 2012-03-05 "Linux" "Linux Programmer's Manual"
 .SH NAME
 syscalls \- Linux system calls
 .SH SYNOPSIS
@@ -130,6 +130,8 @@ Starting with kernel 2.6.0, the development model changed,
 and new system calls may appear in each 2.6.x release.
 In this case, the exact version number where the system call appeared
 is shown.
+This convention continues with the 3.x kernel series,
+which followed on from kernel 2.6.39.
 .IP *
 In some cases, a system call was added to a stable kernel
 series after it branched from the previous stable kernel
@@ -139,7 +141,7 @@ into a 2.4.x release after 2.4.15.
 When this is so, the version where the system call appeared
 in both of the major kernel series is listed.
 .PP
-The list of system calls that are available as at kernel 2.6.33
+The list of system calls that are available as at kernel 3.1
 (or in a few cases only on older kernels) is as follows:
 .\"
 .\" Looking at scripts/checksyscalls.sh in the kernel source is
@@ -163,7 +165,8 @@ l l l.
 \fBafs_syscall\fP(2)           Not implemented
 \fBalarm\fP(2)
 \fBalloc_hugepages\fP(2)       2.5.36  Removed in 2.5.44
-\fBbdflush\fP(2)
+\fBbdflush\fP(2)               Deprecated (does nothing)
+               since 2.6
 \fBbind\fP(2)
 \fBbreak\fP(2)         Not implemented
 \fBbrk\fP(2)
@@ -175,6 +178,7 @@ l l l.
 \fBchown\fP(2)
 \fBchown32\fP(2)       2.4
 \fBchroot\fP(2)
+\fBclock_adjtime\fP(2) 2.6.39
 \fBclock_getres\fP(2)  2.6
 \fBclock_gettime\fP(2) 2.6
 \fBclock_nanosleep\fP(2)       2.6
@@ -203,6 +207,10 @@ l l l.
 .\" Implements \fBposix_fadvise\fP(2)
 \fBfadvise64_64\fP(2)  2.6
 \fBfallocate\fP(2)     2.6.23
+\fBfanotify_init\fP(2) 2.6.37
+\fBfanotify_mark\fP(2) 2.6.37
+.\" The fanotify calls were added in Linux 2.6.36,
+.\" but disabled while the API was finalized.
 \fBfchdir\fP(2)
 \fBfchmod\fP(2)
 \fBfchmodat\fP(2)      2.6.16
@@ -291,7 +299,8 @@ l l l.
 \fBioprio_set\fP(2)    2.6.13
 \fBipc\fP(2)
 .\" Implements System V IPC calls
-\fBkexec_load\fP(2)    2.6.7
+\fBkexec_load\fP(2)    2.6.13
+.\" The entry in the syscall table was reserved starting in 2.6.7
 .\" Was named sys_kexec_load() from 2.6.7 to 2.6.16
 \fBkeyctl\fP(2)        2.6.11
 \fBkill\fP(2)
@@ -347,8 +356,9 @@ l l l.
 \fBmunlock\fP(2)
 \fBmunlockall\fP(2)
 \fBmunmap\fP(2)
+\fBname_to_handle_at\fP(2)     2.6.39
 \fBnanosleep\fP(2)     2.0
-\fBnfsservctl\fP(2)    2.2
+\fBnfsservctl\fP(2)    2.2     Removed in 3.1
 \fBnice\fP(2)
 \fBoldfstat\fP(2)
 \fBoldlstat\fP(2)
@@ -356,6 +366,7 @@ l l l.
 \fBoldstat\fP(2)
 \fBolduname\fP(2)
 \fBopen\fP(2)
+\fBopen_by_handle_at\fP(2)     2.6.39
 \fBopenat\fP(2)        2.6.16
 \fBpause\fP(2)
 \fBpciconfig_iobase\fP(2)      2.2.15; 2.4     Not on i386
@@ -380,6 +391,7 @@ l l l.
 \fBpread64\fP(2)               Added as "pread" in 2.2;
                renamed "pread64" in 2.6
 \fBpreadv\fP(2)        2.6.30
+\fBprlimit\fP(2)       2.6.36
 \fBprof\fP(2)          Not implemented
 \fBprofil\fP(2)                Not implemented
 .\" Implemented in glibc; see \fBprofil\fP(3)
@@ -416,12 +428,10 @@ l l l.
 \fBrt_sigpending\fP(2) 2.2
 \fBrt_sigprocmask\fP(2)        2.2
 \fBrt_sigqueueinfo\fP(2)       2.2
-.\" Implements \fBsigqueue\fP(2)
 \fBrt_sigreturn\fP(2)  2.2
 \fBrt_sigsuspend\fP(2) 2.2
 \fBrt_sigtimedwait\fP(2)       2.2
 \fBrt_tgsigqueueinfo\fP(2)     2.6.31
-.\" Implements \fBpthread_sigqueue\fP(3)
 \fBsched_get_priority_max\fP(2)        2.0
 \fBsched_get_priority_min\fP(2)        2.0
 \fBsched_getaffinity\fP(2)     2.6
@@ -441,6 +451,7 @@ l l l.
 \fBsend\fP(2)
 \fBsendfile\fP(2)      2.2
 \fBsendfile64\fP(2)    2.6; 2.4.19
+\fBsendmmsg\fP(2)      3.0
 \fBsendmsg\fP(2)
 \fBsendto\fP(2)
 \fBset_mempolicy\fP(2) 2.6.6
@@ -462,6 +473,7 @@ l l l.
 \fBsetgroups32\fP(2)   2.4
 \fBsethostname\fP(2)
 \fBsetitimer\fP(2)
+\fBsetns\fP(2) 3.0
 \fBsetpgid\fP(2)
 \fBsetpriority\fP(2)
 \fBsetregid\fP(2)
@@ -509,13 +521,19 @@ l l l.
 \fBstatfs64\fP(2)      2.6
 \fBstime\fP(2)
 \fBstty\fP(2)          Not implemented
+\fBsubpage_prot\fP(2)  2.6.25  PowerPC if CONFIG_PPC_64K_PAGES
 \fBswapoff\fP(2)
 \fBswapon\fP(2)
 \fBsymlink\fP(2)
 \fBsymlinkat\fP(2)     2.6.16
 \fBsync\fP(2)
 \fBsync_file_range\fP(2)       2.6.17
+\fBsync_file_range2\fP(2)      2.6.22  Architecture-specific variant
+.\" PowerPC, ARM, tile
+.\" First appeared on ARM, as arm_sync_file_range(), but later renamed
+               of \fBsync_file_range\fP(2)
 .\" \fBsys_debug_setcontext\fP(2)      ???     PowerPC if CONFIG_PPC32
+\fBsyncfs\fP(2)        2.6.39
 \fBsysfs\fP(2) 1.2
 \fBsysinfo\fP(2)
 \fBsyslog\fP(2)
@@ -707,7 +725,7 @@ and
 .IR __NR_ugetrlimit ).
 .IP *
 Linux 2.4 increased the size of user and group IDs from 16 to 32 bits.
-.\" 64 bit off_t changes: ftruncate64, *stat64,
+.\" 64-bit off_t changes: ftruncate64, *stat64,
 .\" fcntl64 (because of the flock structure), getdents64, *statfs64
 To support this change, a range of system calls were added
 (e.g.,