blob: aebc02f99d9ac3089e94cdaff46a242d51d06873 [file] [log] [blame]
robbiew1f254532003-03-28 22:07:58 +00001#DESCRIPTION:Kernel system calls
robbiew9c6f71e2003-03-14 16:01:51 +00002abort01 ulimit -c 1024;abort01
robbiewa807d042002-12-30 19:54:31 +00003
plarscc1b6f22001-09-05 20:37:07 +00004accept01 accept01
5
6access01 access01
7access02 access02
8access03 access03
9access04 access04
10access05 access05
11
robbiew9a9533a2002-12-04 18:00:27 +000012acct01 acct01
13acct02 acct02
14
robbiew5cb61922002-12-24 16:58:29 +000015adjtimex01 adjtimex01
16adjtimex02 adjtimex02
17
plarscc1b6f22001-09-05 20:37:07 +000018alarm01 alarm01
19alarm02 alarm02
20alarm03 alarm03
plarscc1b6f22001-09-05 20:37:07 +000021alarm05 alarm05
22alarm06 alarm06
23alarm07 alarm07
24
25asyncio02 asyncio02
26
27bind01 bind01
robbiew7b782792004-07-06 22:33:21 +000028bind02 bind02
plarscc1b6f22001-09-05 20:37:07 +000029
30brk01 brk01
31
robbiewc9831c92002-12-27 18:42:43 +000032capget01 capget01
33capget02 capget02
34
robbiewa5d67cb2003-01-01 20:44:12 +000035capset01 capset01
36capset02 capset02
37
plarscc1b6f22001-09-05 20:37:07 +000038chdir01 chdir01
39chdir01A symlink01 -T chdir01
40chdir02 chdir02
41chdir03 chdir03
42chdir04 chdir04
43
44chmod01 chmod01
45chmod01A symlink01 -T chmod01
46chmod02 chmod02
47chmod03 chmod03
48chmod04 chmod04
robbiewe71965a2002-08-16 16:48:17 +000049chmod05 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chmod05
50chmod06 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chmod06
plarscc1b6f22001-09-05 20:37:07 +000051chmod07 chmod07
52
53chown01 chown01
54chown02 chown02
plars6cf88ad2003-07-30 17:06:02 +000055chown03 export change_owner=$LTPROOT/testcases/bin/change_owner;chown03
robbiewe71965a2002-08-16 16:48:17 +000056chown04 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chown04
plarscc1b6f22001-09-05 20:37:07 +000057chown05 chown05
58
59chroot01 chroot01
60chroot02 chroot02
61chroot03 chroot03
robbiewcfd67962002-05-03 15:51:20 +000062chroot04 chroot04
plarscc1b6f22001-09-05 20:37:07 +000063
robbiewe768ae32003-02-20 21:00:48 +000064
robbiew4da5e4a2002-11-18 20:38:59 +000065clone01 clone01
66clone02 clone02
67clone03 clone03
68clone04 clone04
69clone05 clone05
70clone06 clone06
robbiew3d354b62003-08-01 15:50:34 +000071clone07 clone07
robbiew4da5e4a2002-11-18 20:38:59 +000072
plarscc1b6f22001-09-05 20:37:07 +000073close01 close01
74close02 close02
75close08 close08
76
robbiew3d197e62002-12-04 18:06:18 +000077confstr01 confstr01
78
plarscc1b6f22001-09-05 20:37:07 +000079connect01 connect01
80
81creat01 creat01
82creat03 creat03
83creat04 creat04
84creat05 creat05
85creat06 creat06
robbiewe71965a2002-08-16 16:48:17 +000086creat07 creat07 -F $LTPROOT/testcases/bin/test1
robbiew4dff23d2002-12-30 20:09:58 +000087creat08 creat08
plarscc1b6f22001-09-05 20:37:07 +000088creat09 creat09
89
90dup01 dup01
91dup02 dup02
92dup03 dup03
93dup04 dup04
94dup05 dup05
robbiew6f0fc8b2003-01-09 16:23:00 +000095dup06 dup06
96dup07 dup07
plarscc1b6f22001-09-05 20:37:07 +000097
robbiew3d809452001-09-10 19:40:16 +000098dup201 dup201
plarscc1b6f22001-09-05 20:37:07 +000099dup202 dup202
100dup203 dup203
101dup204 dup204
robbiewefc51aa2002-12-30 20:21:52 +0000102dup205 dup205
plarscc1b6f22001-09-05 20:37:07 +0000103
subrata_modak66b84472008-08-11 09:56:25 +0000104eventfd01 eventfd01
105
plarscc1b6f22001-09-05 20:37:07 +0000106execl01 execl01
107execle01 execle01
108execlp01 execlp01
109
110execv01 execv01
111execve01 execve01
robbiewe71965a2002-08-16 16:48:17 +0000112execve02 execve02 -F $LTPROOT/testcases/bin/test3
robbiew5435f932001-09-10 19:56:00 +0000113execve03 execve03
robbiewe71965a2002-08-16 16:48:17 +0000114execve04 cp -f $LTPROOT/testcases/bin/test3 $TMP; execve04 -F test3
115execve05 execve05 -F $LTPROOT/testcases/bin/test3
116execve06 execve06 20 $LTPROOT/testcases/bin/execve06 $LTPROOT/testcases/bin/execve06 4
plarscc1b6f22001-09-05 20:37:07 +0000117execvp01 execvp01
118
119exit01 exit01
120exit02 exit02
121
vapier073ad122006-09-10 10:06:06 +0000122#faccessat test cases
123faccessat01 faccessat01
124
subrata_modak122c6032008-01-08 11:01:11 +0000125#fallocate test cases
126fallocate01 fallocate01
127fallocate02 fallocate02
128fallocate03 fallocate03
129
130#posix_fadvise test cases
subrata_modakbad4dde2007-11-22 13:58:24 +0000131posix_fadvise01 posix_fadvise01
132posix_fadvise01_64 posix_fadvise01_64
133posix_fadvise02 posix_fadvise02
134posix_fadvise02_64 posix_fadvise02_64
135posix_fadvise03 posix_fadvise03
136posix_fadvise03_64 posix_fadvise03_64
137posix_fadvise04 posix_fadvise04
138posix_fadvise04_64 posix_fadvise04_64
139
plarscc1b6f22001-09-05 20:37:07 +0000140fchdir01 fchdir01
141fchdir02 fchdir02
robbiewcfd67962002-05-03 15:51:20 +0000142fchdir03 fchdir03
plarscc1b6f22001-09-05 20:37:07 +0000143
144fchmod01 fchmod01
145fchmod02 fchmod02
146fchmod03 fchmod03
147fchmod04 fchmod04
robbiewe71965a2002-08-16 16:48:17 +0000148fchmod05 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchmod05
149fchmod06 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchmod06
plarscc1b6f22001-09-05 20:37:07 +0000150fchmod07 fchmod07
151
vapier6c81d772006-09-10 10:04:50 +0000152#fchmodat test cases
153fchmodat01 fchmodat01
154
plarscc1b6f22001-09-05 20:37:07 +0000155fchown01 fchown01
156fchown02 fchown02
robbiewe71965a2002-08-16 16:48:17 +0000157fchown03 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchown03
plars6cf88ad2003-07-30 17:06:02 +0000158fchown04 export change_owner=$LTPROOT/testcases/bin/change_owner;fchown04
plarscc1b6f22001-09-05 20:37:07 +0000159fchown05 fchown05
160
vapier032481e2006-08-24 00:24:45 +0000161#fchownat test case
162fchownat01 fchownat01
163
robbiew91f51982001-09-11 16:48:47 +0000164fcntl01 fcntl01
plarscc1b6f22001-09-05 20:37:07 +0000165fcntl02 fcntl02
166fcntl03 fcntl03
167fcntl04 fcntl04
168fcntl05 fcntl05
169fcntl06 fcntl06
170fcntl07 fcntl07
171fcntl07B fcntl07B
172fcntl08 fcntl08
173fcntl09 fcntl09
174fcntl10 fcntl10
plars6b8cccf2001-09-25 15:26:11 +0000175fcntl11 fcntl11
176fcntl12 fcntl12
177fcntl13 fcntl13
178fcntl14 fcntl14
179fcntl15 fcntl15
robbiew869e9a42005-02-24 22:32:45 +0000180#fcntl16 fcntl16 #Contains errors.
plars6b8cccf2001-09-25 15:26:11 +0000181fcntl17 fcntl17
182fcntl18 fcntl18
183fcntl19 fcntl19
184fcntl20 fcntl20
185fcntl21 fcntl21
robbiew25ae5452004-03-02 22:55:42 +0000186fcntl22 fcntl22
187fcntl23 fcntl23
robbiew7937de62005-05-10 18:15:42 +0000188fcntl24 fcntl24
189fcntl25 fcntl25
190fcntl26 fcntl26
mreed10112fa152006-05-15 17:49:45 +0000191# The tests for these system calls fcntl27 and fcntl28 are temporarily being disabled
192# fcntl27 fcntl27
193# fcntl28 fcntl28
plarscc1b6f22001-09-05 20:37:07 +0000194
robbiew3a6f12b2002-12-20 17:13:14 +0000195fdatasync01 fdatasync01
196fdatasync02 fdatasync02
197
robbiewffd39942002-12-02 18:24:37 +0000198flock01 flock01
199flock02 flock02
plars74693462002-12-03 23:05:29 +0000200flock03 flock03
robbiewd7a33fa2002-12-26 20:23:29 +0000201flock04 flock04
202flock05 flock05
robbiew4483a712003-03-03 16:23:16 +0000203flock06 flock06
robbiewffd39942002-12-02 18:24:37 +0000204
robbiewdc44d2e2002-12-30 21:32:36 +0000205fmtmsg01 fmtmsg01
206
plarscc1b6f22001-09-05 20:37:07 +0000207fork01 fork01
208fork02 fork02
209fork03 fork03
210fork04 fork04
211fork05 fork05
212fork06 fork06
213fork07 fork07
214fork08 fork08
215fork09 fork09
plars6b8cccf2001-09-25 15:26:11 +0000216fork10 fork10
217fork11 fork11
plarscc1b6f22001-09-05 20:37:07 +0000218
219fpathconf01 fpathconf01
220
221fstat01 fstat01
222fstat02 fstat02
223fstat03 fstat03
224fstat04 fstat04
robbiew89572422002-06-05 15:35:34 +0000225fstat05 fstat05
plarscc1b6f22001-09-05 20:37:07 +0000226
vapierd2816c42006-08-24 04:20:05 +0000227#fstatat64/newfstatat test cases
228fstatat01 fstatat01
229
plarscc1b6f22001-09-05 20:37:07 +0000230fstatfs01 fstatfs01
231fstatfs02 fstatfs02
232
233fsync01 fsync01
234fsync02 fsync02
235fsync03 fsync03
236
237ftruncate01 ftruncate01
subrata_modak4dd9bbe2008-08-05 02:59:12 +0000238ftruncate01_64 ftruncate01_64
plarscc1b6f22001-09-05 20:37:07 +0000239ftruncate02 ftruncate02
subrata_modak4dd9bbe2008-08-05 02:59:12 +0000240ftruncate02_64 ftruncate02_64
robbiewe0147e92001-09-12 15:48:14 +0000241ftruncate03 ftruncate03
subrata_modak4dd9bbe2008-08-05 02:59:12 +0000242ftruncate03_64 ftruncate03_64
robbiew41b19692003-01-16 16:03:48 +0000243ftruncate04 ftruncate04
subrata_modak4dd9bbe2008-08-05 02:59:12 +0000244ftruncate04_64 ftruncate04_64
plarscc1b6f22001-09-05 20:37:07 +0000245
vapier6eeb1512006-08-24 04:18:31 +0000246#futimesat test cases
247futimesat01 futimesat01
248
robbiewaf04f6e2005-05-26 20:42:13 +0000249getcontext01 getcontext01
250
subrata_modak5a4cf272008-08-22 21:09:58 +0000251getcpu01 getcpu01
252
plarscc1b6f22001-09-05 20:37:07 +0000253getcwd01 getcwd01
254getcwd02 getcwd02
255getcwd03 getcwd03
256
257getdents01 getdents01
258getdents02 getdents02
259getdents03 getdents03
260getdents04 getdents04
plarscc1b6f22001-09-05 20:37:07 +0000261
robbiew83987632002-11-18 20:54:44 +0000262getdomainname01 getdomainname01
263
robbiew41b868b2005-05-26 19:07:12 +0000264getdtablesize01 getdtablesize01
265
plarscc1b6f22001-09-05 20:37:07 +0000266getegid01 getegid01
subrata_modakeb7012d2008-09-04 12:04:46 +0000267getegid01_16 getegid01_16
subrata_modak4f41ee32008-09-22 06:52:57 +0000268getegid02 getegid02
269getegid02_16 getegid02_16
plarscc1b6f22001-09-05 20:37:07 +0000270
271geteuid01 geteuid01
272
273getgid01 getgid01
subrata_modak4f41ee32008-09-22 06:52:57 +0000274getgid01_16 getgid01_16
275# getgid02 is moved to getegid.
276# getgid02 getgid02
plarscc1b6f22001-09-05 20:37:07 +0000277getgid03 getgid03
subrata_modak4f41ee32008-09-22 06:52:57 +0000278getgid03_16 getgid03_16
plarscc1b6f22001-09-05 20:37:07 +0000279
280getgroups01 getgroups01
281getgroups02 getgroups02
282getgroups03 getgroups03
283getgroups04 getgroups04
284
285gethostid01 gethostid01
286
287gethostname01 gethostname01
288
289getitimer01 getitimer01
290getitimer02 getitimer02
291getitimer03 getitimer03
292
robbiew7ba4dfb2005-04-12 22:23:09 +0000293getpagesize01 getpagesize01
294
plarscc1b6f22001-09-05 20:37:07 +0000295getpeername01 getpeername01
296
297getpgid01 getpgid01
298getpgid02 getpgid02
299
300getpgrp01 getpgrp01
301
302getpid01 getpid01
303getpid02 getpid02
304
305getppid01 getppid01
306getppid02 getppid02
307
308getpriority01 getpriority01
309getpriority02 getpriority02
310
311getresgid01 getresgid01
312getresgid02 getresgid02
313getresgid03 getresgid03
314
315getresuid01 getresuid01
316getresuid02 getresuid02
317getresuid03 getresuid03
318
robbiew3dde45d2003-01-08 16:33:11 +0000319getrlimit01 getrlimit01
320getrlimit02 getrlimit02
321
subrata_modak1382fd12008-08-11 10:35:31 +0000322get_robust_list01 get_robust_list01
323
robbiewaa7c2cc2002-12-16 21:22:09 +0000324getrusage01 getrusage01
325getrusage02 getrusage02
326
plarscc1b6f22001-09-05 20:37:07 +0000327getsid01 getsid01
328getsid02 getsid02
329
330getsockname01 getsockname01
331
332getsockopt01 getsockopt01
333
subrata_modakcd6dc3f2008-06-17 14:19:27 +0000334gettid01 gettid01
335
plarscc1b6f22001-09-05 20:37:07 +0000336gettimeofday01 gettimeofday01
nstraz5abf9a92002-05-23 15:39:06 +0000337gettimeofday02 gettimeofday02
plarscc1b6f22001-09-05 20:37:07 +0000338
339getuid01 getuid01
340getuid02 getuid02
341getuid03 getuid03
342
robbiewd1e38432003-07-10 16:42:12 +0000343#Needs tty device.
344#ioctl01 ioctl01 -D /dev/tty0
345#ioctl02 ioctl02 -D /dev/tty0
plarscc1b6f22001-09-05 20:37:07 +0000346
subrata_modak9afc5e52007-05-28 10:48:27 +0000347inotify01 inotify01
348inotify02 inotify02
349
robbiew2db8c7e2003-01-01 20:50:36 +0000350ioperm01 ioperm01
351ioperm02 ioperm02
352
robbiew6f9ec432002-12-30 18:08:19 +0000353iopl01 iopl01
354iopl02 iopl02
355
subrata_modak06e466f2008-06-26 13:27:17 +0000356io_cancel01 run-io_cancel.sh
subrata_modakc5792c92008-07-11 20:21:42 +0000357io_destroy01 run-io_destroy.sh
358io_getevents01 run-io_getevents.sh
359io_setup01 run-io_setup.sh
360io_submit01 run-io_submit.sh
subrata_modak06e466f2008-06-26 13:27:17 +0000361
plarscc1b6f22001-09-05 20:37:07 +0000362kill01 kill01
363kill02 kill02
364kill03 kill03
365kill04 kill04
366kill05 kill05
367kill06 kill06
368kill07 kill07
369kill08 kill08
370kill09 kill09
371kill10 kill10
robbiewed3dbbf2003-03-14 15:58:53 +0000372kill11 ulimit -c 1024;kill11
robbiewe237cd32002-12-31 21:21:45 +0000373kill12 kill12
robbiew9f0e6782003-04-15 17:59:51 +0000374
plarscc1b6f22001-09-05 20:37:07 +0000375lchown01 lchown01
robbiewe71965a2002-08-16 16:48:17 +0000376lchown02 cp -p $LTPROOT/testcases/bin/create_link $TMP; lchown02
plarscc1b6f22001-09-05 20:37:07 +0000377
378link01 symlink01 -T link01
379link02 link02
380link03 link03
381link04 link04
382link05 link05
robbiew724848a2002-07-08 16:41:55 +0000383link06 link06
robbiew6bc7e2d2002-07-08 16:47:09 +0000384link07 link07
plarscc1b6f22001-09-05 20:37:07 +0000385
vapieraab2ac02006-09-10 09:59:08 +0000386#linkat test cases
387linkat01 linkat01
388
plarscc1b6f22001-09-05 20:37:07 +0000389listen01 listen01
390
391llseek01 llseek01
392llseek02 llseek02
393
394lseek01 lseek01
395lseek02 lseek02
396lseek03 lseek03
397lseek04 lseek04
398lseek05 lseek05
399lseek06 lseek06
400lseek07 lseek07
401lseek08 lseek08
402lseek09 lseek09
403lseek10 lseek10
404
405lstat01A symlink01 -T lstat01
406lstat01 lstat01
407lstat02 lstat02
robbiewefafa932001-09-12 17:02:12 +0000408lstat03 lstat03
plarscc1b6f22001-09-05 20:37:07 +0000409
robbiew2c012d72003-01-03 21:00:43 +0000410mallopt01 mallopt01
411
robbiew35bd5872003-01-03 20:17:28 +0000412memset01 memset01
robbiew844c8a72003-01-03 20:40:22 +0000413memcmp01 memcmp01
robbiewc6219fd2003-01-03 20:33:32 +0000414memcpy01 memcpy01
robbiew35bd5872003-01-03 20:17:28 +0000415
robbiewb284c112002-11-26 17:24:44 +0000416mlockall01 mlockall01
417mlockall02 mlockall02
robbiewe972ba52005-05-26 19:16:49 +0000418mlockall03 mlockall03
robbiewb284c112002-11-26 17:24:44 +0000419
plarscc1b6f22001-09-05 20:37:07 +0000420mkdir01 mkdir01
421mkdir02 mkdir02
422mkdir03 mkdir03
423mkdir04 mkdir04
robbiewefafa932001-09-12 17:02:12 +0000424mkdir05 mkdir05
plarscc1b6f22001-09-05 20:37:07 +0000425mkdir05A symlink01 -T mkdir05
426mkdir08 mkdir08
robbiewbd756502002-12-04 23:16:31 +0000427mkdir09 mkdir09
plarscc1b6f22001-09-05 20:37:07 +0000428
vapierdfa737c2006-08-24 00:20:29 +0000429#mkdirat test cases
430mkdirat01 mkdir01
431
plarscc1b6f22001-09-05 20:37:07 +0000432mknod01 mknod01
433mknod02 mknod02
434mknod03 mknod03
435mknod04 mknod04
436mknod05 mknod05
437mknod06 mknod06
438mknod07 mknod07
439mknod08 mknod08
robbiew61786512002-06-10 14:59:05 +0000440mknod09 mknod09
plarscc1b6f22001-09-05 20:37:07 +0000441
vapierd780ff62006-08-24 00:23:08 +0000442#mknodat test cases
443mknodat01 mknodat01
444
plarsbd2bbbd2002-06-13 22:16:13 +0000445mlock01 mlock01
446mlock02 mlock02
447
plarscc1b6f22001-09-05 20:37:07 +0000448qmm01 mmap001 -m 1
449mmap01 mmap01
450mmap02 mmap02
451mmap03 mmap03
452mmap04 mmap04
453mmap05 mmap05
454mmap06 mmap06
455mmap07 mmap07
456mmap08 mmap08
plars11556692003-04-09 20:26:41 +0000457mmap09 mmap09
plarscc1b6f22001-09-05 20:37:07 +0000458
robbiew835d5a42001-09-12 18:39:10 +0000459modify_ldt01 modify_ldt01
plarscc1b6f22001-09-05 20:37:07 +0000460modify_ldt02 modify_ldt02
461
robbiew080c2192002-11-26 21:12:07 +0000462#
463# These tests require an unmounted block device
464# to run correctly. Please see individual test
465# code for more information.
466#
467#mount01 mount01 -D /dev/...
468#mount02 mount02 -D /dev/...
469#mount03 mount03 -D /dev/...
470#mount04 mount04 -D /dev/...
471
subrata_modak8dfa1b32008-07-26 04:15:36 +0000472move_pages01 move_pages.sh 01
473move_pages02 move_pages.sh 02
474move_pages03 move_pages.sh 03
475move_pages04 move_pages.sh 04
476move_pages05 move_pages.sh 05
477move_pages06 move_pages.sh 06
478move_pages07 move_pages.sh 07
479move_pages08 move_pages.sh 08
480move_pages09 move_pages.sh 09
481move_pages10 move_pages.sh 10
482move_pages11 move_pages.sh 11
483
plarscc1b6f22001-09-05 20:37:07 +0000484mprotect01 mprotect01
485mprotect02 mprotect02
486mprotect03 mprotect03
487
488mremap01 mremap01
489mremap02 mremap02
490mremap03 mremap03
491mremap04 mremap04
492
493msgctl01 msgctl01
494msgctl02 msgctl02
495msgctl03 msgctl03
robbiew4a6976c2001-09-12 19:00:24 +0000496msgctl04 msgctl04
plarscc1b6f22001-09-05 20:37:07 +0000497msgctl05 msgctl05
robbiew577ff1a2002-12-05 20:12:28 +0000498msgctl06 msgctl06
499msgctl07 msgctl07
500msgctl08 msgctl08
501msgctl09 msgctl09
plarscc1b6f22001-09-05 20:37:07 +0000502
503msgget01 msgget01
504msgget02 msgget02
505msgget03 msgget03
robbiew4a6976c2001-09-12 19:00:24 +0000506msgget04 msgget04
plarscc1b6f22001-09-05 20:37:07 +0000507
508msgrcv01 msgrcv01
robbiew4a6976c2001-09-12 19:00:24 +0000509msgrcv02 msgrcv02
plarscc1b6f22001-09-05 20:37:07 +0000510msgrcv03 msgrcv03
511msgrcv04 msgrcv04
512msgrcv05 msgrcv05
513msgrcv06 msgrcv06
514
515msgsnd01 msgsnd01
robbiew4a6976c2001-09-12 19:00:24 +0000516msgsnd02 msgsnd02
plarscc1b6f22001-09-05 20:37:07 +0000517msgsnd03 msgsnd03
518msgsnd04 msgsnd04
519msgsnd05 msgsnd05
520msgsnd06 msgsnd06
521
522msync01 msync01
523msync02 msync02
524msync03 msync03
525msync04 msync04
526msync05 msync05
527
robbiew3e8143e2002-12-02 18:01:15 +0000528munlock01 munlock01
529munlock02 munlock02
530
robbiew5d74ee32002-12-24 17:08:11 +0000531munlockall01 munlockall01
532munlockall02 munlockall02
533
plarscc1b6f22001-09-05 20:37:07 +0000534munmap01 munmap01
535munmap02 munmap02
536munmap03 munmap03
537
538nanosleep01 nanosleep01
539nanosleep02 nanosleep02
540nanosleep03 nanosleep03
541nanosleep04 nanosleep04
542
robbiewfd1cff32002-12-04 18:33:09 +0000543nftw01 nftw01
544nftw6401 nftw6401
545
plarscc1b6f22001-09-05 20:37:07 +0000546nice01 nice01
547nice02 nice02
548nice03 nice03
robbiew4a6976c2001-09-12 19:00:24 +0000549nice04 nice04
plarscc1b6f22001-09-05 20:37:07 +0000550nice05 nice05
551
552open01 open01
553open01A symlink01 -T open01
554open02 open02
555open03 open03
556open04 open04
557open05 open05
558open06 open06
559open07 open07
robbiew4a6976c2001-09-12 19:00:24 +0000560open08 open08
robbiewa2d47322002-12-31 21:58:11 +0000561open09 open09
robbiew3a77e6e2003-01-06 20:43:47 +0000562open10 open10
plarscc1b6f22001-09-05 20:37:07 +0000563
vapier4aaf10b2006-08-24 01:57:40 +0000564#openat test cases
565openat01 openat01
566
mridgeee9951a2004-08-24 18:42:52 +0000567mincore01 mincore01
568#mincore02 mincore02 currently hangs and does not exit correctly
569madvise01 madvise01
570madvise02 madvise02
571
plarscc1b6f22001-09-05 20:37:07 +0000572pathconf01 pathconf01
573
574pause01 pause01
575pause02 pause02
576pause03 pause03
577
robbiewe493ffb2003-12-16 17:23:24 +0000578# The personality() system call is poorly documented
579# and difficult to figure out how to use by looking
580# at the different architecture specific kernel files.
581#personality01 personality01
582#personality02 personality02
plarscc1b6f22001-09-05 20:37:07 +0000583
584pipe01 pipe01
robbiew906d4682003-01-06 17:23:07 +0000585pipe02 pipe02
586pipe03 pipe03
587pipe04 pipe04
plarscc1b6f22001-09-05 20:37:07 +0000588pipe05 pipe05
589pipe06 pipe06
robbiew906d4682003-01-06 17:23:07 +0000590pipe07 pipe07
plarscc1b6f22001-09-05 20:37:07 +0000591pipe08 pipe08
592pipe09 pipe09
593pipe10 pipe10
594pipe11 pipe11
595
596poll01 poll01
597
robbiewea1ca882002-12-19 19:06:19 +0000598prctl01 prctl01
599prctl02 prctl02
robbiewea1ca882002-12-19 19:06:19 +0000600
plarscc1b6f22001-09-05 20:37:07 +0000601pread01 pread01
602pread02 pread02
robbiewcfd67962002-05-03 15:51:20 +0000603pread03 pread03
plarscc1b6f22001-09-05 20:37:07 +0000604
robbiew4f33e5d2002-12-31 22:12:26 +0000605profil01 profil01
606
robbiew3815a9d2005-05-26 15:40:47 +0000607pselect01 pselect01
608
robbiew7aaab4f2002-12-19 18:21:31 +0000609ptrace01 ptrace01
610ptrace02 ptrace02
611ptrace03 ptrace03
612
plarscc1b6f22001-09-05 20:37:07 +0000613pwrite01 pwrite01
robbiew7da6f532001-09-12 21:41:14 +0000614pwrite02 pwrite02
robbiewcfd67962002-05-03 15:51:20 +0000615pwrite03 pwrite03
robbiew3c658152003-01-07 21:50:34 +0000616pwrite04 pwrite04
plarscc1b6f22001-09-05 20:37:07 +0000617
robbiew63cf8532003-02-20 20:42:12 +0000618
plarscc1b6f22001-09-05 20:37:07 +0000619read01 read01
620read02 read02
621read03 read03
622read04 read04
623
624readdir01 readdir01
robbiewcfd67962002-05-03 15:51:20 +0000625readdir02 readdir02
plarscc1b6f22001-09-05 20:37:07 +0000626
627readlink01A symlink01 -T readlink01
plars9d84a3b2001-09-25 16:05:38 +0000628readlink01 readlink01
plarscc1b6f22001-09-05 20:37:07 +0000629readlink02 readlink02
robbiewf1cd2d52001-09-10 21:15:34 +0000630readlink03 readlink03
robbiewe71965a2002-08-16 16:48:17 +0000631readlink04 cp -f $LTPROOT/testcases/bin/creat_slink $TMP; readlink04
plarscc1b6f22001-09-05 20:37:07 +0000632
vapier8a63ecb2006-09-10 10:03:21 +0000633#readlinkat test cases
634readlinkat01 readlinkat01
635
plarscc1b6f22001-09-05 20:37:07 +0000636readv01 readv01
637readv02 readv02
robbiewcd243f22002-05-21 17:06:02 +0000638readv03 readv03
plarscc1b6f22001-09-05 20:37:07 +0000639
robbiew4e03a3c2002-12-24 17:15:09 +0000640reboot01 reboot01
641reboot02 reboot02
642
robbiew2b3dc622001-09-10 19:33:45 +0000643recv01 recv01
plarscc1b6f22001-09-05 20:37:07 +0000644
robbiew3b67df92001-09-13 16:36:25 +0000645recvfrom01 recvfrom01
plarscc1b6f22001-09-05 20:37:07 +0000646
robbiew3b67df92001-09-13 16:36:25 +0000647recvmsg01 recvmsg01
plarscc1b6f22001-09-05 20:37:07 +0000648
subrata_modakfcfd1602007-10-17 14:33:24 +0000649remap_file_pages01 remap_file_pages01
subrata_modakbf831b52007-10-25 14:20:10 +0000650remap_file_pages02 remap_file_pages02
subrata_modakfcfd1602007-10-17 14:33:24 +0000651
plarscc1b6f22001-09-05 20:37:07 +0000652rename01 rename01
653rename01A symlink01 -T rename01
654rename02 rename02
655rename03 rename03
656rename04 rename04
657rename05 rename05
658rename06 rename06
659rename07 rename07
660rename08 rename08
robbiew528f4282001-09-18 17:10:50 +0000661rename09 rename09
plarscc1b6f22001-09-05 20:37:07 +0000662rename10 rename10
robbiew528f4282001-09-18 17:10:50 +0000663rename12 rename12
plarscc1b6f22001-09-05 20:37:07 +0000664rename13 rename13
robbiew717b4302002-12-04 18:40:58 +0000665rename14 rename14
plarscc1b6f22001-09-05 20:37:07 +0000666
vapierb0493c82006-09-10 09:57:28 +0000667#renameat test cases
668renameat01 renameat01
669
plarscc1b6f22001-09-05 20:37:07 +0000670rmdir01 rmdir01
robbiewed0977d2001-09-13 19:04:48 +0000671rmdir02 rmdir02
plarscc1b6f22001-09-05 20:37:07 +0000672rmdir03 rmdir03
673rmdir03A symlink01 -T rmdir03
674rmdir04 rmdir04
675rmdir05 rmdir05
676
677sbrk01 sbrk01
678
plarsfb9883e2002-12-06 22:57:32 +0000679sched_get_priority_max01 sched_get_priority_max01
680sched_get_priority_max02 sched_get_priority_max02
681
682sched_get_priority_min01 sched_get_priority_min01
683sched_get_priority_min02 sched_get_priority_min02
684
685sched_getparam01 sched_getparam01
686sched_getparam02 sched_getparam02
687sched_getparam03 sched_getparam03
688
robbiew5d7ec242002-12-24 16:51:53 +0000689sched_rr_get_interval01 sched_rr_get_interval01
690sched_rr_get_interval02 sched_rr_get_interval02
691sched_rr_get_interval03 sched_rr_get_interval03
692
plarsfb9883e2002-12-06 22:57:32 +0000693sched_setparam01 sched_setparam01
694sched_setparam02 sched_setparam02
695sched_setparam03 sched_setparam03
696sched_setparam04 sched_setparam04
697sched_setparam05 sched_setparam05
698
plarscc1b6f22001-09-05 20:37:07 +0000699sched_getscheduler01 sched_getscheduler01
700sched_getscheduler02 sched_getscheduler02
701
702sched_setscheduler01 sched_setscheduler01
703sched_setscheduler02 sched_setscheduler02
704
705sched_yield01 sched_yield01
706
707select01 select01
708select02 select02
709select03 select03
710
711semctl01 semctl01
robbiewed0977d2001-09-13 19:04:48 +0000712semctl02 semctl02
plarscc1b6f22001-09-05 20:37:07 +0000713semctl03 semctl03
plarsfea01722002-01-21 20:27:31 +0000714semctl04 semctl04
plarscc1b6f22001-09-05 20:37:07 +0000715semctl05 semctl05
robbiewbc5f6662002-12-05 20:23:49 +0000716semctl06 semctl06
717semctl07 semctl07
plarscc1b6f22001-09-05 20:37:07 +0000718
719semget01 semget01
720semget02 semget02
721semget03 semget03
722semget05 semget05
723semget06 semget06
724
725semop01 semop01
726semop02 semop02
727semop03 semop03
728semop04 semop04
729semop05 semop05
730
731send01 send01
732
plarscc1b6f22001-09-05 20:37:07 +0000733sendfile02 sendfile02
subrata_modakb752e852007-11-28 11:20:03 +0000734sendfile02_64 sendfile02_64
robbiew281272a2001-09-25 17:28:40 +0000735sendfile03 sendfile03
subrata_modakb752e852007-11-28 11:20:03 +0000736sendfile03_64 sendfile03_64
737sendfile04 sendfile04
738sendfile04_64 sendfile04_64
subrata_modak498546d2007-12-05 08:44:26 +0000739sendfile05 sendfile05
740sendfile05_64 sendfile05_64
741sendfile06 sendfile06
742sendfile06_64 sendfile06_64
743sendfile07 sendfile07
744sendfile07_64 sendfile07_64
subrata_modakb752e852007-11-28 11:20:03 +0000745
plarscc1b6f22001-09-05 20:37:07 +0000746
747sendmsg01 sendmsg01
748
749sendto01 sendto01
750
plarsd758be32002-11-01 15:59:31 +0000751setdomainname01 setdomainname01
752setdomainname02 setdomainname02
753setdomainname03 setdomainname03
754
plarscc1b6f22001-09-05 20:37:07 +0000755setfsgid01 setfsgid01
mridgedf9ae7e2004-05-21 14:51:40 +0000756setfsgid02 setfsgid02
757setfsgid03 setfsgid03
plarscc1b6f22001-09-05 20:37:07 +0000758
759setfsuid01 setfsuid01
mridgedf9ae7e2004-05-21 14:51:40 +0000760setfsuid02 setfsuid02
761setfsuid03 setfsuid03
subrata_modakcbfac502008-08-19 07:23:42 +0000762setfsuid04 setfsuid04
plarscc1b6f22001-09-05 20:37:07 +0000763
764setgid01 setgid01
subrata_modakda53b082008-08-04 12:06:21 +0000765setgid01_16 setgid01_16
plarscc1b6f22001-09-05 20:37:07 +0000766setgid02 setgid02
subrata_modakda53b082008-08-04 12:06:21 +0000767setgid02_16 setgid02_16
plarscc1b6f22001-09-05 20:37:07 +0000768setgid03 setgid03
subrata_modakda53b082008-08-04 12:06:21 +0000769setgid03_16 setgid03_16
plarscc1b6f22001-09-05 20:37:07 +0000770
robbiew26e72a02003-04-08 15:40:07 +0000771setegid01 setegid01
772
plarscc1b6f22001-09-05 20:37:07 +0000773setgroups01 setgroups01
subrata_modak34a572a2008-08-27 12:02:42 +0000774setgroups01_16 setgroups01_16
plarscc1b6f22001-09-05 20:37:07 +0000775setgroups02 setgroups02
subrata_modak34a572a2008-08-27 12:02:42 +0000776setgroups02_16 setgroups02_16
plarscc1b6f22001-09-05 20:37:07 +0000777setgroups03 setgroups03
subrata_modak34a572a2008-08-27 12:02:42 +0000778setgroups03_16 setgroups03_16
robbiew89572422002-06-05 15:35:34 +0000779setgroups04 setgroups04
subrata_modak34a572a2008-08-27 12:02:42 +0000780setgroups04_16 setgroups04_16
plarscc1b6f22001-09-05 20:37:07 +0000781
plars2be4eff2002-11-01 15:44:39 +0000782sethostname01 sethostname01
783sethostname02 sethostname02
784sethostname03 sethostname03
785
plarscc1b6f22001-09-05 20:37:07 +0000786setitimer01 setitimer01
787setitimer02 setitimer02
788setitimer03 setitimer03
789
790setpgid01 setpgid01
791setpgid02 setpgid02
792setpgid03 setpgid03
793
794setpgrp01 setpgrp01
795setpgrp02 setpgrp02
796
797setpriority01 setpriority01
798setpriority02 setpriority02
799setpriority03 setpriority03
800setpriority04 setpriority04
801setpriority05 setpriority05
802
803setregid01 setregid01
robbiew2b3dc622001-09-10 19:33:45 +0000804setregid02 setregid02
805setregid03 setregid03
806setregid04 setregid04
plarscc1b6f22001-09-05 20:37:07 +0000807
robbiew802eb8b2002-12-27 18:47:45 +0000808setresgid01 setresgid01
809setresgid02 setresgid02
810setresgid03 setresgid03
811
robbiew2b3dc622001-09-10 19:33:45 +0000812setresuid01 setresuid01
813setresuid02 setresuid02
robbiewd295c942001-09-13 19:41:59 +0000814setresuid03 setresuid03
subrata_modakcbfac502008-08-19 07:23:42 +0000815setresuid04 setresuid04
plarscc1b6f22001-09-05 20:37:07 +0000816
817setreuid01 setreuid01
robbiew2b3dc622001-09-10 19:33:45 +0000818setreuid02 setreuid02
plarscc1b6f22001-09-05 20:37:07 +0000819setreuid03 setreuid03
820setreuid04 setreuid04
821setreuid05 setreuid05
822setreuid06 setreuid06
subrata_modakcbfac502008-08-19 07:23:42 +0000823setreuid07 setreuid07
plarscc1b6f22001-09-05 20:37:07 +0000824
825setrlimit01 setrlimit01
robbiew04dcae82001-09-13 19:52:02 +0000826setrlimit02 setrlimit02
plarscc1b6f22001-09-05 20:37:07 +0000827setrlimit03 setrlimit03
828
subrata_modak1382fd12008-08-11 10:35:31 +0000829set_robust_list01 set_robust_list01
830
plarscc1b6f22001-09-05 20:37:07 +0000831setsid01 setsid01
832
833setsockopt01 setsockopt01
834
835settimeofday01 settimeofday01
836settimeofday02 settimeofday02
837
838setuid01 setuid01
839setuid02 setuid02
840setuid03 setuid03
subrata_modakcbfac502008-08-19 07:23:42 +0000841setuid04 setuid04
plarscc1b6f22001-09-05 20:37:07 +0000842
843shmat01 shmat01
844shmat02 shmat02
845shmat03 shmat03
846
847shmctl01 shmctl01
848shmctl02 shmctl02
849shmctl03 shmctl03
plars7ce00c22002-09-30 19:59:58 +0000850shmctl04 shmctl04
plarscc1b6f22001-09-05 20:37:07 +0000851
robbiew2b3dc622001-09-10 19:33:45 +0000852shmdt01 shmdt01
robbiew04dcae82001-09-13 19:52:02 +0000853shmdt02 shmdt02
plarscc1b6f22001-09-05 20:37:07 +0000854
855shmget01 shmget01
856shmget02 shmget02
857shmget03 shmget03
robbiew0c0847c2001-09-13 20:23:54 +0000858shmget04 shmget04
plarscc1b6f22001-09-05 20:37:07 +0000859shmget05 shmget05
860
861sigaction01 sigaction01
robbiew0c0847c2001-09-13 20:23:54 +0000862sigaction02 sigaction02
robbiewee78cc52003-02-24 19:26:42 +0000863
plarscc1b6f22001-09-05 20:37:07 +0000864sigaltstack01 sigaltstack01
865sigaltstack02 sigaltstack02
866
robbiew2845acb2003-02-24 19:38:01 +0000867
plarscc1b6f22001-09-05 20:37:07 +0000868sighold02 sighold02
robbiew7cd714b2003-02-24 22:15:40 +0000869
plarscc1b6f22001-09-05 20:37:07 +0000870signal01 signal01
871signal02 signal02
872signal03 signal03
873signal04 signal04
874signal05 signal05
875
robbiew1a228e02003-02-21 22:14:33 +0000876sigpending02 sigpending02
877
plarscc1b6f22001-09-05 20:37:07 +0000878sigprocmask01 sigprocmask01
879
880sigrelse01 sigrelse01
881
882sigsuspend01 sigsuspend01
883
robbiewf01a9002003-04-15 17:42:39 +0000884
plarscc1b6f22001-09-05 20:37:07 +0000885socket01 socket01
886
robbiewe7c06512003-01-02 16:00:05 +0000887socketcall01 socketcall01
888socketcall02 socketcall02
889socketcall03 socketcall03
890socketcall04 socketcall04
891
plarscc1b6f22001-09-05 20:37:07 +0000892socketpair01 socketpair01
893
894sockioctl01 sockioctl01
895
vapierc033f492006-08-21 07:44:43 +0000896#splice test
897splice01 splice01
898tee01 tee01
899
plarscc1b6f22001-09-05 20:37:07 +0000900stat01 stat01
901stat02 stat02
902stat03 stat03
903stat04 symlink01 -T stat04
904stat05 stat05
905stat06 stat06
906
907statfs01 statfs01
908statfs02 statfs02
robbiew89572422002-06-05 15:35:34 +0000909statfs03 statfs03
plarscc1b6f22001-09-05 20:37:07 +0000910
robbiew783bc452005-08-31 21:31:27 +0000911statvfs01 statvfs01
912
robbiewa30214a2003-11-26 15:35:15 +0000913# This syscall is obsoleted by settimeofday.
plarsfd011592002-08-30 19:14:12 +0000914#stime01 stime01
robbiewa30214a2003-11-26 15:35:15 +0000915#stime02 stime02
plarscc1b6f22001-09-05 20:37:07 +0000916
robbiewc58f59a2002-12-31 22:43:14 +0000917string01 string01
918
robbiew0abc81f2003-01-02 16:45:29 +0000919swapoff01 swapoff01
920swapoff02 swapoff02
921
robbiewbea33222004-08-25 23:26:48 +0000922swapon01 swapon01
923swapon02 swapon02
subrata_modak413ec142007-08-28 07:17:29 +0000924swapon03 swapon03
robbiewdcc848e2003-01-02 21:03:35 +0000925
subrata_modakde78ad02008-09-04 12:29:33 +0000926#Exclusive syscall() for POWER6 machines only
927switch01 switch01
928
plarscc1b6f22001-09-05 20:37:07 +0000929symlink01 symlink01
930symlink02 symlink02
robbiew90996112001-09-13 20:31:13 +0000931symlink03 symlink03
plarscc1b6f22001-09-05 20:37:07 +0000932symlink04 symlink04
933symlink05 symlink05
934
vapier460557a2006-09-10 10:00:38 +0000935#symlinkat test cases
936symlinkat01 symlinkat01
937
plarscc1b6f22001-09-05 20:37:07 +0000938sync01 sync01
939sync02 sync02
940
subrata_modakb1ef9932008-08-18 10:37:42 +0000941#testcases for sync_file_range
942sync_file_range01 sync_file_range01
943
robbiew35c803d2002-12-31 22:53:23 +0000944syscall01 syscall01
945
robbiewed1fe5e2002-12-04 19:06:19 +0000946sysconf01 sysconf01
947
plarscc1b6f22001-09-05 20:37:07 +0000948sysctl01 sysctl01
949sysctl03 sysctl03
950sysctl04 sysctl04
951sysctl05 sysctl05
952
robbiewdb26b082002-12-26 20:48:35 +0000953sysfs01 sysfs01
954sysfs02 sysfs02
955sysfs03 sysfs03
956sysfs04 sysfs04
957sysfs05 sysfs05
958sysfs06 sysfs06
959
plarscc1b6f22001-09-05 20:37:07 +0000960sysinfo01 sysinfo01
961sysinfo02 sysinfo02
962
robbiew564db0e2002-12-09 23:21:23 +0000963syslog01 syslog01
964syslog02 syslog02
965syslog03 syslog03
966syslog04 syslog04
967syslog05 syslog05
968syslog06 syslog06
969syslog07 syslog07
970syslog08 syslog08
971syslog09 syslog09
972syslog10 syslog10
robbiewee4e4fb2003-04-03 15:53:36 +0000973syslog11 syslog11
robbiew4946e5a2003-01-01 20:38:17 +0000974syslog12 syslog12
robbiew564db0e2002-12-09 23:21:23 +0000975
robbiewa30214a2003-11-26 15:35:15 +0000976# This syscall is obsoleted by gettimeofday.
977# time01 time01
978# time02 time02
plarscc1b6f22001-09-05 20:37:07 +0000979
980times01 times01
plarscc1b6f22001-09-05 20:37:07 +0000981times03 times03
982
subrata_modakaf2c9ef2008-06-03 06:54:12 +0000983# New syscall support from 2.6.25 kernel onwards
984
985timerfd01 timerfd01
986
plarscc1b6f22001-09-05 20:37:07 +0000987truncate01 truncate01
subrata_modakbbc5be62008-08-05 03:00:19 +0000988truncate01_64 truncate01_64
plarscc1b6f22001-09-05 20:37:07 +0000989truncate02 truncate02
subrata_modakbbc5be62008-08-05 03:00:19 +0000990truncate02_64 truncate02_64
plarscc1b6f22001-09-05 20:37:07 +0000991truncate03 truncate03
subrata_modakbbc5be62008-08-05 03:00:19 +0000992truncate03_64 truncate03_64
robbiew89572422002-06-05 15:35:34 +0000993truncate04 truncate04
subrata_modakbbc5be62008-08-05 03:00:19 +0000994truncate04_64 truncate04_64
plarscc1b6f22001-09-05 20:37:07 +0000995
robbiew528f4282001-09-18 17:10:50 +0000996# This syscall is obsolete. The latest glibc does not even
997# include the ulimit.h file anymore. The test will fail
998# because the error handling has been simplified.
999#
1000# ulimit01 ulimit01
plarscc1b6f22001-09-05 20:37:07 +00001001
1002umask01 umask01
1003umask02 umask02
1004umask03 umask03
1005
1006uname01 uname01
1007uname02 uname02
1008uname03 uname03
1009
1010unlink01 symlink01 -T unlink01
1011unlink05 unlink05
1012unlink06 unlink06
1013unlink07 unlink07
1014unlink08 unlink08
1015
vapier3688c122006-09-10 09:55:18 +00001016#unlinkat test cases
1017unlinkat01 unlinkat01
1018
robbiew85b41fd2002-11-27 16:09:57 +00001019#
1020# These tests require an unmounted block device
1021# to run correctly. Please see individual test
1022# code for more information.
1023#
1024#umount01 umount01 -D /dev/...
1025#umount02 umount02 -D /dev/...
1026#umount03 umount03 -D /dev/...
robbiew85b41fd2002-11-27 16:09:57 +00001027
robbiew11f37552003-03-03 16:11:17 +00001028ustat01 ustat01
1029ustat02 ustat02
1030
plarscc1b6f22001-09-05 20:37:07 +00001031utime01 utime01
1032utime01A symlink01 -T utime01
1033utime02 utime02
1034utime03 utime03
1035utime04 utime04
1036utime05 utime05
1037utime06 utime06
1038
subrata_modak27439682008-06-06 08:44:40 +00001039# Introduced from Kernel 2.6.22 onwards
1040utimensat01 utimensat_tests.sh
1041
plarscc1b6f22001-09-05 20:37:07 +00001042vfork01 vfork01
1043vfork02 vfork02
1044
1045vhangup01 vhangup01
1046vhangup02 vhangup02
1047
vapier0b108792006-09-10 10:12:42 +00001048#vmsplice test cases
1049vmsplice01 vmsplice01
1050
plarscc1b6f22001-09-05 20:37:07 +00001051wait02 wait02
1052
1053wait401 wait401
1054wait402 wait402
1055
1056waitpid01 waitpid01
1057waitpid02 waitpid02
1058waitpid03 waitpid03
1059waitpid04 waitpid04
robbiew2b3dc622001-09-10 19:33:45 +00001060waitpid05 waitpid05
plarscc1b6f22001-09-05 20:37:07 +00001061waitpid06 waitpid06
1062waitpid07 waitpid07
1063waitpid08 waitpid08
1064waitpid09 waitpid09
1065waitpid10 waitpid10 5
1066waitpid11 waitpid11
1067waitpid12 waitpid12
1068waitpid13 waitpid13
1069
1070write01 write01
1071write02 write02
1072write03 write03
1073write04 write04
1074write05 write05
1075
1076writev01 writev01
1077writev02 writev02
1078writev03 writev03
1079writev04 writev04
1080writev05 writev05
subrata_modakd2c56482007-06-20 10:52:33 +00001081writev06 writev06
plarscc1b6f22001-09-05 20:37:07 +00001082