blob: 6e2c3e7ec9c01dff19e5fdf27921a62677092305 [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
267
268geteuid01 geteuid01
269
270getgid01 getgid01
271getgid02 getgid02
272getgid03 getgid03
273
274getgroups01 getgroups01
275getgroups02 getgroups02
276getgroups03 getgroups03
277getgroups04 getgroups04
278
279gethostid01 gethostid01
280
281gethostname01 gethostname01
282
283getitimer01 getitimer01
284getitimer02 getitimer02
285getitimer03 getitimer03
286
robbiew7ba4dfb2005-04-12 22:23:09 +0000287getpagesize01 getpagesize01
288
plarscc1b6f22001-09-05 20:37:07 +0000289getpeername01 getpeername01
290
291getpgid01 getpgid01
292getpgid02 getpgid02
293
294getpgrp01 getpgrp01
295
296getpid01 getpid01
297getpid02 getpid02
298
299getppid01 getppid01
300getppid02 getppid02
301
302getpriority01 getpriority01
303getpriority02 getpriority02
304
305getresgid01 getresgid01
306getresgid02 getresgid02
307getresgid03 getresgid03
308
309getresuid01 getresuid01
310getresuid02 getresuid02
311getresuid03 getresuid03
312
robbiew3dde45d2003-01-08 16:33:11 +0000313getrlimit01 getrlimit01
314getrlimit02 getrlimit02
315
subrata_modak1382fd12008-08-11 10:35:31 +0000316get_robust_list01 get_robust_list01
317
robbiewaa7c2cc2002-12-16 21:22:09 +0000318getrusage01 getrusage01
319getrusage02 getrusage02
320
plarscc1b6f22001-09-05 20:37:07 +0000321getsid01 getsid01
322getsid02 getsid02
323
324getsockname01 getsockname01
325
326getsockopt01 getsockopt01
327
subrata_modakcd6dc3f2008-06-17 14:19:27 +0000328gettid01 gettid01
329
plarscc1b6f22001-09-05 20:37:07 +0000330gettimeofday01 gettimeofday01
nstraz5abf9a92002-05-23 15:39:06 +0000331gettimeofday02 gettimeofday02
plarscc1b6f22001-09-05 20:37:07 +0000332
333getuid01 getuid01
334getuid02 getuid02
335getuid03 getuid03
336
robbiewd1e38432003-07-10 16:42:12 +0000337#Needs tty device.
338#ioctl01 ioctl01 -D /dev/tty0
339#ioctl02 ioctl02 -D /dev/tty0
plarscc1b6f22001-09-05 20:37:07 +0000340
subrata_modak9afc5e52007-05-28 10:48:27 +0000341inotify01 inotify01
342inotify02 inotify02
343
robbiew2db8c7e2003-01-01 20:50:36 +0000344ioperm01 ioperm01
345ioperm02 ioperm02
346
robbiew6f9ec432002-12-30 18:08:19 +0000347iopl01 iopl01
348iopl02 iopl02
349
subrata_modak06e466f2008-06-26 13:27:17 +0000350io_cancel01 run-io_cancel.sh
subrata_modakc5792c92008-07-11 20:21:42 +0000351io_destroy01 run-io_destroy.sh
352io_getevents01 run-io_getevents.sh
353io_setup01 run-io_setup.sh
354io_submit01 run-io_submit.sh
subrata_modak06e466f2008-06-26 13:27:17 +0000355
plarscc1b6f22001-09-05 20:37:07 +0000356kill01 kill01
357kill02 kill02
358kill03 kill03
359kill04 kill04
360kill05 kill05
361kill06 kill06
362kill07 kill07
363kill08 kill08
364kill09 kill09
365kill10 kill10
robbiewed3dbbf2003-03-14 15:58:53 +0000366kill11 ulimit -c 1024;kill11
robbiewe237cd32002-12-31 21:21:45 +0000367kill12 kill12
robbiew9f0e6782003-04-15 17:59:51 +0000368
plarscc1b6f22001-09-05 20:37:07 +0000369lchown01 lchown01
robbiewe71965a2002-08-16 16:48:17 +0000370lchown02 cp -p $LTPROOT/testcases/bin/create_link $TMP; lchown02
plarscc1b6f22001-09-05 20:37:07 +0000371
372link01 symlink01 -T link01
373link02 link02
374link03 link03
375link04 link04
376link05 link05
robbiew724848a2002-07-08 16:41:55 +0000377link06 link06
robbiew6bc7e2d2002-07-08 16:47:09 +0000378link07 link07
plarscc1b6f22001-09-05 20:37:07 +0000379
vapieraab2ac02006-09-10 09:59:08 +0000380#linkat test cases
381linkat01 linkat01
382
plarscc1b6f22001-09-05 20:37:07 +0000383listen01 listen01
384
385llseek01 llseek01
386llseek02 llseek02
387
388lseek01 lseek01
389lseek02 lseek02
390lseek03 lseek03
391lseek04 lseek04
392lseek05 lseek05
393lseek06 lseek06
394lseek07 lseek07
395lseek08 lseek08
396lseek09 lseek09
397lseek10 lseek10
398
399lstat01A symlink01 -T lstat01
400lstat01 lstat01
401lstat02 lstat02
robbiewefafa932001-09-12 17:02:12 +0000402lstat03 lstat03
plarscc1b6f22001-09-05 20:37:07 +0000403
robbiew2c012d72003-01-03 21:00:43 +0000404mallopt01 mallopt01
405
robbiew35bd5872003-01-03 20:17:28 +0000406memset01 memset01
robbiew844c8a72003-01-03 20:40:22 +0000407memcmp01 memcmp01
robbiewc6219fd2003-01-03 20:33:32 +0000408memcpy01 memcpy01
robbiew35bd5872003-01-03 20:17:28 +0000409
robbiewb284c112002-11-26 17:24:44 +0000410mlockall01 mlockall01
411mlockall02 mlockall02
robbiewe972ba52005-05-26 19:16:49 +0000412mlockall03 mlockall03
robbiewb284c112002-11-26 17:24:44 +0000413
plarscc1b6f22001-09-05 20:37:07 +0000414mkdir01 mkdir01
415mkdir02 mkdir02
416mkdir03 mkdir03
417mkdir04 mkdir04
robbiewefafa932001-09-12 17:02:12 +0000418mkdir05 mkdir05
plarscc1b6f22001-09-05 20:37:07 +0000419mkdir05A symlink01 -T mkdir05
420mkdir08 mkdir08
robbiewbd756502002-12-04 23:16:31 +0000421mkdir09 mkdir09
plarscc1b6f22001-09-05 20:37:07 +0000422
vapierdfa737c2006-08-24 00:20:29 +0000423#mkdirat test cases
424mkdirat01 mkdir01
425
plarscc1b6f22001-09-05 20:37:07 +0000426mknod01 mknod01
427mknod02 mknod02
428mknod03 mknod03
429mknod04 mknod04
430mknod05 mknod05
431mknod06 mknod06
432mknod07 mknod07
433mknod08 mknod08
robbiew61786512002-06-10 14:59:05 +0000434mknod09 mknod09
plarscc1b6f22001-09-05 20:37:07 +0000435
vapierd780ff62006-08-24 00:23:08 +0000436#mknodat test cases
437mknodat01 mknodat01
438
plarsbd2bbbd2002-06-13 22:16:13 +0000439mlock01 mlock01
440mlock02 mlock02
441
plarscc1b6f22001-09-05 20:37:07 +0000442qmm01 mmap001 -m 1
443mmap01 mmap01
444mmap02 mmap02
445mmap03 mmap03
446mmap04 mmap04
447mmap05 mmap05
448mmap06 mmap06
449mmap07 mmap07
450mmap08 mmap08
plars11556692003-04-09 20:26:41 +0000451mmap09 mmap09
plarscc1b6f22001-09-05 20:37:07 +0000452
robbiew835d5a42001-09-12 18:39:10 +0000453modify_ldt01 modify_ldt01
plarscc1b6f22001-09-05 20:37:07 +0000454modify_ldt02 modify_ldt02
455
robbiew080c2192002-11-26 21:12:07 +0000456#
457# These tests require an unmounted block device
458# to run correctly. Please see individual test
459# code for more information.
460#
461#mount01 mount01 -D /dev/...
462#mount02 mount02 -D /dev/...
463#mount03 mount03 -D /dev/...
464#mount04 mount04 -D /dev/...
465
subrata_modak8dfa1b32008-07-26 04:15:36 +0000466move_pages01 move_pages.sh 01
467move_pages02 move_pages.sh 02
468move_pages03 move_pages.sh 03
469move_pages04 move_pages.sh 04
470move_pages05 move_pages.sh 05
471move_pages06 move_pages.sh 06
472move_pages07 move_pages.sh 07
473move_pages08 move_pages.sh 08
474move_pages09 move_pages.sh 09
475move_pages10 move_pages.sh 10
476move_pages11 move_pages.sh 11
477
plarscc1b6f22001-09-05 20:37:07 +0000478mprotect01 mprotect01
479mprotect02 mprotect02
480mprotect03 mprotect03
481
482mremap01 mremap01
483mremap02 mremap02
484mremap03 mremap03
485mremap04 mremap04
486
487msgctl01 msgctl01
488msgctl02 msgctl02
489msgctl03 msgctl03
robbiew4a6976c2001-09-12 19:00:24 +0000490msgctl04 msgctl04
plarscc1b6f22001-09-05 20:37:07 +0000491msgctl05 msgctl05
robbiew577ff1a2002-12-05 20:12:28 +0000492msgctl06 msgctl06
493msgctl07 msgctl07
494msgctl08 msgctl08
495msgctl09 msgctl09
plarscc1b6f22001-09-05 20:37:07 +0000496
497msgget01 msgget01
498msgget02 msgget02
499msgget03 msgget03
robbiew4a6976c2001-09-12 19:00:24 +0000500msgget04 msgget04
plarscc1b6f22001-09-05 20:37:07 +0000501
502msgrcv01 msgrcv01
robbiew4a6976c2001-09-12 19:00:24 +0000503msgrcv02 msgrcv02
plarscc1b6f22001-09-05 20:37:07 +0000504msgrcv03 msgrcv03
505msgrcv04 msgrcv04
506msgrcv05 msgrcv05
507msgrcv06 msgrcv06
508
509msgsnd01 msgsnd01
robbiew4a6976c2001-09-12 19:00:24 +0000510msgsnd02 msgsnd02
plarscc1b6f22001-09-05 20:37:07 +0000511msgsnd03 msgsnd03
512msgsnd04 msgsnd04
513msgsnd05 msgsnd05
514msgsnd06 msgsnd06
515
516msync01 msync01
517msync02 msync02
518msync03 msync03
519msync04 msync04
520msync05 msync05
521
robbiew3e8143e2002-12-02 18:01:15 +0000522munlock01 munlock01
523munlock02 munlock02
524
robbiew5d74ee32002-12-24 17:08:11 +0000525munlockall01 munlockall01
526munlockall02 munlockall02
527
plarscc1b6f22001-09-05 20:37:07 +0000528munmap01 munmap01
529munmap02 munmap02
530munmap03 munmap03
531
532nanosleep01 nanosleep01
533nanosleep02 nanosleep02
534nanosleep03 nanosleep03
535nanosleep04 nanosleep04
536
robbiewfd1cff32002-12-04 18:33:09 +0000537nftw01 nftw01
538nftw6401 nftw6401
539
plarscc1b6f22001-09-05 20:37:07 +0000540nice01 nice01
541nice02 nice02
542nice03 nice03
robbiew4a6976c2001-09-12 19:00:24 +0000543nice04 nice04
plarscc1b6f22001-09-05 20:37:07 +0000544nice05 nice05
545
546open01 open01
547open01A symlink01 -T open01
548open02 open02
549open03 open03
550open04 open04
551open05 open05
552open06 open06
553open07 open07
robbiew4a6976c2001-09-12 19:00:24 +0000554open08 open08
robbiewa2d47322002-12-31 21:58:11 +0000555open09 open09
robbiew3a77e6e2003-01-06 20:43:47 +0000556open10 open10
plarscc1b6f22001-09-05 20:37:07 +0000557
vapier4aaf10b2006-08-24 01:57:40 +0000558#openat test cases
559openat01 openat01
560
mridgeee9951a2004-08-24 18:42:52 +0000561mincore01 mincore01
562#mincore02 mincore02 currently hangs and does not exit correctly
563madvise01 madvise01
564madvise02 madvise02
565
plarscc1b6f22001-09-05 20:37:07 +0000566pathconf01 pathconf01
567
568pause01 pause01
569pause02 pause02
570pause03 pause03
571
robbiewe493ffb2003-12-16 17:23:24 +0000572# The personality() system call is poorly documented
573# and difficult to figure out how to use by looking
574# at the different architecture specific kernel files.
575#personality01 personality01
576#personality02 personality02
plarscc1b6f22001-09-05 20:37:07 +0000577
578pipe01 pipe01
robbiew906d4682003-01-06 17:23:07 +0000579pipe02 pipe02
580pipe03 pipe03
581pipe04 pipe04
plarscc1b6f22001-09-05 20:37:07 +0000582pipe05 pipe05
583pipe06 pipe06
robbiew906d4682003-01-06 17:23:07 +0000584pipe07 pipe07
plarscc1b6f22001-09-05 20:37:07 +0000585pipe08 pipe08
586pipe09 pipe09
587pipe10 pipe10
588pipe11 pipe11
589
590poll01 poll01
591
robbiewea1ca882002-12-19 19:06:19 +0000592prctl01 prctl01
593prctl02 prctl02
robbiewea1ca882002-12-19 19:06:19 +0000594
plarscc1b6f22001-09-05 20:37:07 +0000595pread01 pread01
596pread02 pread02
robbiewcfd67962002-05-03 15:51:20 +0000597pread03 pread03
plarscc1b6f22001-09-05 20:37:07 +0000598
robbiew4f33e5d2002-12-31 22:12:26 +0000599profil01 profil01
600
robbiew3815a9d2005-05-26 15:40:47 +0000601pselect01 pselect01
602
robbiew7aaab4f2002-12-19 18:21:31 +0000603ptrace01 ptrace01
604ptrace02 ptrace02
605ptrace03 ptrace03
606
plarscc1b6f22001-09-05 20:37:07 +0000607pwrite01 pwrite01
robbiew7da6f532001-09-12 21:41:14 +0000608pwrite02 pwrite02
robbiewcfd67962002-05-03 15:51:20 +0000609pwrite03 pwrite03
robbiew3c658152003-01-07 21:50:34 +0000610pwrite04 pwrite04
plarscc1b6f22001-09-05 20:37:07 +0000611
robbiew63cf8532003-02-20 20:42:12 +0000612
plarscc1b6f22001-09-05 20:37:07 +0000613read01 read01
614read02 read02
615read03 read03
616read04 read04
617
618readdir01 readdir01
robbiewcfd67962002-05-03 15:51:20 +0000619readdir02 readdir02
plarscc1b6f22001-09-05 20:37:07 +0000620
621readlink01A symlink01 -T readlink01
plars9d84a3b2001-09-25 16:05:38 +0000622readlink01 readlink01
plarscc1b6f22001-09-05 20:37:07 +0000623readlink02 readlink02
robbiewf1cd2d52001-09-10 21:15:34 +0000624readlink03 readlink03
robbiewe71965a2002-08-16 16:48:17 +0000625readlink04 cp -f $LTPROOT/testcases/bin/creat_slink $TMP; readlink04
plarscc1b6f22001-09-05 20:37:07 +0000626
vapier8a63ecb2006-09-10 10:03:21 +0000627#readlinkat test cases
628readlinkat01 readlinkat01
629
plarscc1b6f22001-09-05 20:37:07 +0000630readv01 readv01
631readv02 readv02
robbiewcd243f22002-05-21 17:06:02 +0000632readv03 readv03
plarscc1b6f22001-09-05 20:37:07 +0000633
robbiew4e03a3c2002-12-24 17:15:09 +0000634reboot01 reboot01
635reboot02 reboot02
636
robbiew2b3dc622001-09-10 19:33:45 +0000637recv01 recv01
plarscc1b6f22001-09-05 20:37:07 +0000638
robbiew3b67df92001-09-13 16:36:25 +0000639recvfrom01 recvfrom01
plarscc1b6f22001-09-05 20:37:07 +0000640
robbiew3b67df92001-09-13 16:36:25 +0000641recvmsg01 recvmsg01
plarscc1b6f22001-09-05 20:37:07 +0000642
subrata_modakfcfd1602007-10-17 14:33:24 +0000643remap_file_pages01 remap_file_pages01
subrata_modakbf831b52007-10-25 14:20:10 +0000644remap_file_pages02 remap_file_pages02
subrata_modakfcfd1602007-10-17 14:33:24 +0000645
plarscc1b6f22001-09-05 20:37:07 +0000646rename01 rename01
647rename01A symlink01 -T rename01
648rename02 rename02
649rename03 rename03
650rename04 rename04
651rename05 rename05
652rename06 rename06
653rename07 rename07
654rename08 rename08
robbiew528f4282001-09-18 17:10:50 +0000655rename09 rename09
plarscc1b6f22001-09-05 20:37:07 +0000656rename10 rename10
robbiew528f4282001-09-18 17:10:50 +0000657rename12 rename12
plarscc1b6f22001-09-05 20:37:07 +0000658rename13 rename13
robbiew717b4302002-12-04 18:40:58 +0000659rename14 rename14
plarscc1b6f22001-09-05 20:37:07 +0000660
vapierb0493c82006-09-10 09:57:28 +0000661#renameat test cases
662renameat01 renameat01
663
plarscc1b6f22001-09-05 20:37:07 +0000664rmdir01 rmdir01
robbiewed0977d2001-09-13 19:04:48 +0000665rmdir02 rmdir02
plarscc1b6f22001-09-05 20:37:07 +0000666rmdir03 rmdir03
667rmdir03A symlink01 -T rmdir03
668rmdir04 rmdir04
669rmdir05 rmdir05
670
671sbrk01 sbrk01
672
plarsfb9883e2002-12-06 22:57:32 +0000673sched_get_priority_max01 sched_get_priority_max01
674sched_get_priority_max02 sched_get_priority_max02
675
676sched_get_priority_min01 sched_get_priority_min01
677sched_get_priority_min02 sched_get_priority_min02
678
679sched_getparam01 sched_getparam01
680sched_getparam02 sched_getparam02
681sched_getparam03 sched_getparam03
682
robbiew5d7ec242002-12-24 16:51:53 +0000683sched_rr_get_interval01 sched_rr_get_interval01
684sched_rr_get_interval02 sched_rr_get_interval02
685sched_rr_get_interval03 sched_rr_get_interval03
686
plarsfb9883e2002-12-06 22:57:32 +0000687sched_setparam01 sched_setparam01
688sched_setparam02 sched_setparam02
689sched_setparam03 sched_setparam03
690sched_setparam04 sched_setparam04
691sched_setparam05 sched_setparam05
692
plarscc1b6f22001-09-05 20:37:07 +0000693sched_getscheduler01 sched_getscheduler01
694sched_getscheduler02 sched_getscheduler02
695
696sched_setscheduler01 sched_setscheduler01
697sched_setscheduler02 sched_setscheduler02
698
699sched_yield01 sched_yield01
700
701select01 select01
702select02 select02
703select03 select03
704
705semctl01 semctl01
robbiewed0977d2001-09-13 19:04:48 +0000706semctl02 semctl02
plarscc1b6f22001-09-05 20:37:07 +0000707semctl03 semctl03
plarsfea01722002-01-21 20:27:31 +0000708semctl04 semctl04
plarscc1b6f22001-09-05 20:37:07 +0000709semctl05 semctl05
robbiewbc5f6662002-12-05 20:23:49 +0000710semctl06 semctl06
711semctl07 semctl07
plarscc1b6f22001-09-05 20:37:07 +0000712
713semget01 semget01
714semget02 semget02
715semget03 semget03
716semget05 semget05
717semget06 semget06
718
719semop01 semop01
720semop02 semop02
721semop03 semop03
722semop04 semop04
723semop05 semop05
724
725send01 send01
726
plarscc1b6f22001-09-05 20:37:07 +0000727sendfile02 sendfile02
subrata_modakb752e852007-11-28 11:20:03 +0000728sendfile02_64 sendfile02_64
robbiew281272a2001-09-25 17:28:40 +0000729sendfile03 sendfile03
subrata_modakb752e852007-11-28 11:20:03 +0000730sendfile03_64 sendfile03_64
731sendfile04 sendfile04
732sendfile04_64 sendfile04_64
subrata_modak498546d2007-12-05 08:44:26 +0000733sendfile05 sendfile05
734sendfile05_64 sendfile05_64
735sendfile06 sendfile06
736sendfile06_64 sendfile06_64
737sendfile07 sendfile07
738sendfile07_64 sendfile07_64
subrata_modakb752e852007-11-28 11:20:03 +0000739
plarscc1b6f22001-09-05 20:37:07 +0000740
741sendmsg01 sendmsg01
742
743sendto01 sendto01
744
plarsd758be32002-11-01 15:59:31 +0000745setdomainname01 setdomainname01
746setdomainname02 setdomainname02
747setdomainname03 setdomainname03
748
plarscc1b6f22001-09-05 20:37:07 +0000749setfsgid01 setfsgid01
mridgedf9ae7e2004-05-21 14:51:40 +0000750setfsgid02 setfsgid02
751setfsgid03 setfsgid03
plarscc1b6f22001-09-05 20:37:07 +0000752
753setfsuid01 setfsuid01
mridgedf9ae7e2004-05-21 14:51:40 +0000754setfsuid02 setfsuid02
755setfsuid03 setfsuid03
subrata_modakcbfac502008-08-19 07:23:42 +0000756setfsuid04 setfsuid04
plarscc1b6f22001-09-05 20:37:07 +0000757
758setgid01 setgid01
subrata_modakda53b082008-08-04 12:06:21 +0000759setgid01_16 setgid01_16
plarscc1b6f22001-09-05 20:37:07 +0000760setgid02 setgid02
subrata_modakda53b082008-08-04 12:06:21 +0000761setgid02_16 setgid02_16
plarscc1b6f22001-09-05 20:37:07 +0000762setgid03 setgid03
subrata_modakda53b082008-08-04 12:06:21 +0000763setgid03_16 setgid03_16
plarscc1b6f22001-09-05 20:37:07 +0000764
robbiew26e72a02003-04-08 15:40:07 +0000765setegid01 setegid01
766
plarscc1b6f22001-09-05 20:37:07 +0000767setgroups01 setgroups01
subrata_modak34a572a2008-08-27 12:02:42 +0000768setgroups01_16 setgroups01_16
plarscc1b6f22001-09-05 20:37:07 +0000769setgroups02 setgroups02
subrata_modak34a572a2008-08-27 12:02:42 +0000770setgroups02_16 setgroups02_16
plarscc1b6f22001-09-05 20:37:07 +0000771setgroups03 setgroups03
subrata_modak34a572a2008-08-27 12:02:42 +0000772setgroups03_16 setgroups03_16
robbiew89572422002-06-05 15:35:34 +0000773setgroups04 setgroups04
subrata_modak34a572a2008-08-27 12:02:42 +0000774setgroups04_16 setgroups04_16
plarscc1b6f22001-09-05 20:37:07 +0000775
plars2be4eff2002-11-01 15:44:39 +0000776sethostname01 sethostname01
777sethostname02 sethostname02
778sethostname03 sethostname03
779
plarscc1b6f22001-09-05 20:37:07 +0000780setitimer01 setitimer01
781setitimer02 setitimer02
782setitimer03 setitimer03
783
784setpgid01 setpgid01
785setpgid02 setpgid02
786setpgid03 setpgid03
787
788setpgrp01 setpgrp01
789setpgrp02 setpgrp02
790
791setpriority01 setpriority01
792setpriority02 setpriority02
793setpriority03 setpriority03
794setpriority04 setpriority04
795setpriority05 setpriority05
796
797setregid01 setregid01
robbiew2b3dc622001-09-10 19:33:45 +0000798setregid02 setregid02
799setregid03 setregid03
800setregid04 setregid04
plarscc1b6f22001-09-05 20:37:07 +0000801
robbiew802eb8b2002-12-27 18:47:45 +0000802setresgid01 setresgid01
803setresgid02 setresgid02
804setresgid03 setresgid03
805
robbiew2b3dc622001-09-10 19:33:45 +0000806setresuid01 setresuid01
807setresuid02 setresuid02
robbiewd295c942001-09-13 19:41:59 +0000808setresuid03 setresuid03
subrata_modakcbfac502008-08-19 07:23:42 +0000809setresuid04 setresuid04
plarscc1b6f22001-09-05 20:37:07 +0000810
811setreuid01 setreuid01
robbiew2b3dc622001-09-10 19:33:45 +0000812setreuid02 setreuid02
plarscc1b6f22001-09-05 20:37:07 +0000813setreuid03 setreuid03
814setreuid04 setreuid04
815setreuid05 setreuid05
816setreuid06 setreuid06
subrata_modakcbfac502008-08-19 07:23:42 +0000817setreuid07 setreuid07
plarscc1b6f22001-09-05 20:37:07 +0000818
819setrlimit01 setrlimit01
robbiew04dcae82001-09-13 19:52:02 +0000820setrlimit02 setrlimit02
plarscc1b6f22001-09-05 20:37:07 +0000821setrlimit03 setrlimit03
822
subrata_modak1382fd12008-08-11 10:35:31 +0000823set_robust_list01 set_robust_list01
824
plarscc1b6f22001-09-05 20:37:07 +0000825setsid01 setsid01
826
827setsockopt01 setsockopt01
828
829settimeofday01 settimeofday01
830settimeofday02 settimeofday02
831
832setuid01 setuid01
833setuid02 setuid02
834setuid03 setuid03
subrata_modakcbfac502008-08-19 07:23:42 +0000835setuid04 setuid04
plarscc1b6f22001-09-05 20:37:07 +0000836
837shmat01 shmat01
838shmat02 shmat02
839shmat03 shmat03
840
841shmctl01 shmctl01
842shmctl02 shmctl02
843shmctl03 shmctl03
plars7ce00c22002-09-30 19:59:58 +0000844shmctl04 shmctl04
plarscc1b6f22001-09-05 20:37:07 +0000845
robbiew2b3dc622001-09-10 19:33:45 +0000846shmdt01 shmdt01
robbiew04dcae82001-09-13 19:52:02 +0000847shmdt02 shmdt02
plarscc1b6f22001-09-05 20:37:07 +0000848
849shmget01 shmget01
850shmget02 shmget02
851shmget03 shmget03
robbiew0c0847c2001-09-13 20:23:54 +0000852shmget04 shmget04
plarscc1b6f22001-09-05 20:37:07 +0000853shmget05 shmget05
854
855sigaction01 sigaction01
robbiew0c0847c2001-09-13 20:23:54 +0000856sigaction02 sigaction02
robbiewee78cc52003-02-24 19:26:42 +0000857
plarscc1b6f22001-09-05 20:37:07 +0000858sigaltstack01 sigaltstack01
859sigaltstack02 sigaltstack02
860
robbiew2845acb2003-02-24 19:38:01 +0000861
plarscc1b6f22001-09-05 20:37:07 +0000862sighold02 sighold02
robbiew7cd714b2003-02-24 22:15:40 +0000863
plarscc1b6f22001-09-05 20:37:07 +0000864signal01 signal01
865signal02 signal02
866signal03 signal03
867signal04 signal04
868signal05 signal05
869
robbiew1a228e02003-02-21 22:14:33 +0000870sigpending02 sigpending02
871
plarscc1b6f22001-09-05 20:37:07 +0000872sigprocmask01 sigprocmask01
873
874sigrelse01 sigrelse01
875
876sigsuspend01 sigsuspend01
877
robbiewf01a9002003-04-15 17:42:39 +0000878
plarscc1b6f22001-09-05 20:37:07 +0000879socket01 socket01
880
robbiewe7c06512003-01-02 16:00:05 +0000881socketcall01 socketcall01
882socketcall02 socketcall02
883socketcall03 socketcall03
884socketcall04 socketcall04
885
plarscc1b6f22001-09-05 20:37:07 +0000886socketpair01 socketpair01
887
888sockioctl01 sockioctl01
889
vapierc033f492006-08-21 07:44:43 +0000890#splice test
891splice01 splice01
892tee01 tee01
893
plarscc1b6f22001-09-05 20:37:07 +0000894stat01 stat01
895stat02 stat02
896stat03 stat03
897stat04 symlink01 -T stat04
898stat05 stat05
899stat06 stat06
900
901statfs01 statfs01
902statfs02 statfs02
robbiew89572422002-06-05 15:35:34 +0000903statfs03 statfs03
plarscc1b6f22001-09-05 20:37:07 +0000904
robbiew783bc452005-08-31 21:31:27 +0000905statvfs01 statvfs01
906
robbiewa30214a2003-11-26 15:35:15 +0000907# This syscall is obsoleted by settimeofday.
plarsfd011592002-08-30 19:14:12 +0000908#stime01 stime01
robbiewa30214a2003-11-26 15:35:15 +0000909#stime02 stime02
plarscc1b6f22001-09-05 20:37:07 +0000910
robbiewc58f59a2002-12-31 22:43:14 +0000911string01 string01
912
robbiew0abc81f2003-01-02 16:45:29 +0000913swapoff01 swapoff01
914swapoff02 swapoff02
915
robbiewbea33222004-08-25 23:26:48 +0000916swapon01 swapon01
917swapon02 swapon02
subrata_modak413ec142007-08-28 07:17:29 +0000918swapon03 swapon03
robbiewdcc848e2003-01-02 21:03:35 +0000919
plarscc1b6f22001-09-05 20:37:07 +0000920symlink01 symlink01
921symlink02 symlink02
robbiew90996112001-09-13 20:31:13 +0000922symlink03 symlink03
plarscc1b6f22001-09-05 20:37:07 +0000923symlink04 symlink04
924symlink05 symlink05
925
vapier460557a2006-09-10 10:00:38 +0000926#symlinkat test cases
927symlinkat01 symlinkat01
928
plarscc1b6f22001-09-05 20:37:07 +0000929sync01 sync01
930sync02 sync02
931
subrata_modakb1ef9932008-08-18 10:37:42 +0000932#testcases for sync_file_range
933sync_file_range01 sync_file_range01
934
robbiew35c803d2002-12-31 22:53:23 +0000935syscall01 syscall01
936
robbiewed1fe5e2002-12-04 19:06:19 +0000937sysconf01 sysconf01
938
plarscc1b6f22001-09-05 20:37:07 +0000939sysctl01 sysctl01
940sysctl03 sysctl03
941sysctl04 sysctl04
942sysctl05 sysctl05
943
robbiewdb26b082002-12-26 20:48:35 +0000944sysfs01 sysfs01
945sysfs02 sysfs02
946sysfs03 sysfs03
947sysfs04 sysfs04
948sysfs05 sysfs05
949sysfs06 sysfs06
950
plarscc1b6f22001-09-05 20:37:07 +0000951sysinfo01 sysinfo01
952sysinfo02 sysinfo02
953
robbiew564db0e2002-12-09 23:21:23 +0000954syslog01 syslog01
955syslog02 syslog02
956syslog03 syslog03
957syslog04 syslog04
958syslog05 syslog05
959syslog06 syslog06
960syslog07 syslog07
961syslog08 syslog08
962syslog09 syslog09
963syslog10 syslog10
robbiewee4e4fb2003-04-03 15:53:36 +0000964syslog11 syslog11
robbiew4946e5a2003-01-01 20:38:17 +0000965syslog12 syslog12
robbiew564db0e2002-12-09 23:21:23 +0000966
robbiewa30214a2003-11-26 15:35:15 +0000967# This syscall is obsoleted by gettimeofday.
968# time01 time01
969# time02 time02
plarscc1b6f22001-09-05 20:37:07 +0000970
971times01 times01
plarscc1b6f22001-09-05 20:37:07 +0000972times03 times03
973
subrata_modakaf2c9ef2008-06-03 06:54:12 +0000974# New syscall support from 2.6.25 kernel onwards
975
976timerfd01 timerfd01
977
plarscc1b6f22001-09-05 20:37:07 +0000978truncate01 truncate01
subrata_modakbbc5be62008-08-05 03:00:19 +0000979truncate01_64 truncate01_64
plarscc1b6f22001-09-05 20:37:07 +0000980truncate02 truncate02
subrata_modakbbc5be62008-08-05 03:00:19 +0000981truncate02_64 truncate02_64
plarscc1b6f22001-09-05 20:37:07 +0000982truncate03 truncate03
subrata_modakbbc5be62008-08-05 03:00:19 +0000983truncate03_64 truncate03_64
robbiew89572422002-06-05 15:35:34 +0000984truncate04 truncate04
subrata_modakbbc5be62008-08-05 03:00:19 +0000985truncate04_64 truncate04_64
plarscc1b6f22001-09-05 20:37:07 +0000986
robbiew528f4282001-09-18 17:10:50 +0000987# This syscall is obsolete. The latest glibc does not even
988# include the ulimit.h file anymore. The test will fail
989# because the error handling has been simplified.
990#
991# ulimit01 ulimit01
plarscc1b6f22001-09-05 20:37:07 +0000992
993umask01 umask01
994umask02 umask02
995umask03 umask03
996
997uname01 uname01
998uname02 uname02
999uname03 uname03
1000
1001unlink01 symlink01 -T unlink01
1002unlink05 unlink05
1003unlink06 unlink06
1004unlink07 unlink07
1005unlink08 unlink08
1006
vapier3688c122006-09-10 09:55:18 +00001007#unlinkat test cases
1008unlinkat01 unlinkat01
1009
robbiew85b41fd2002-11-27 16:09:57 +00001010#
1011# These tests require an unmounted block device
1012# to run correctly. Please see individual test
1013# code for more information.
1014#
1015#umount01 umount01 -D /dev/...
1016#umount02 umount02 -D /dev/...
1017#umount03 umount03 -D /dev/...
robbiew85b41fd2002-11-27 16:09:57 +00001018
robbiew11f37552003-03-03 16:11:17 +00001019ustat01 ustat01
1020ustat02 ustat02
1021
plarscc1b6f22001-09-05 20:37:07 +00001022utime01 utime01
1023utime01A symlink01 -T utime01
1024utime02 utime02
1025utime03 utime03
1026utime04 utime04
1027utime05 utime05
1028utime06 utime06
1029
subrata_modak27439682008-06-06 08:44:40 +00001030# Introduced from Kernel 2.6.22 onwards
1031utimensat01 utimensat_tests.sh
1032
plarscc1b6f22001-09-05 20:37:07 +00001033vfork01 vfork01
1034vfork02 vfork02
1035
1036vhangup01 vhangup01
1037vhangup02 vhangup02
1038
vapier0b108792006-09-10 10:12:42 +00001039#vmsplice test cases
1040vmsplice01 vmsplice01
1041
plarscc1b6f22001-09-05 20:37:07 +00001042wait02 wait02
1043
1044wait401 wait401
1045wait402 wait402
1046
1047waitpid01 waitpid01
1048waitpid02 waitpid02
1049waitpid03 waitpid03
1050waitpid04 waitpid04
robbiew2b3dc622001-09-10 19:33:45 +00001051waitpid05 waitpid05
plarscc1b6f22001-09-05 20:37:07 +00001052waitpid06 waitpid06
1053waitpid07 waitpid07
1054waitpid08 waitpid08
1055waitpid09 waitpid09
1056waitpid10 waitpid10 5
1057waitpid11 waitpid11
1058waitpid12 waitpid12
1059waitpid13 waitpid13
1060
1061write01 write01
1062write02 write02
1063write03 write03
1064write04 write04
1065write05 write05
1066
1067writev01 writev01
1068writev02 writev02
1069writev03 writev03
1070writev04 writev04
1071writev05 writev05
subrata_modakd2c56482007-06-20 10:52:33 +00001072writev06 writev06
plarscc1b6f22001-09-05 20:37:07 +00001073