blob: 9f283e207d952b02a1b51294956a315f251e9032 [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
104execl01 execl01
105execle01 execle01
106execlp01 execlp01
107
108execv01 execv01
109execve01 execve01
robbiewe71965a2002-08-16 16:48:17 +0000110execve02 execve02 -F $LTPROOT/testcases/bin/test3
robbiew5435f932001-09-10 19:56:00 +0000111execve03 execve03
robbiewe71965a2002-08-16 16:48:17 +0000112execve04 cp -f $LTPROOT/testcases/bin/test3 $TMP; execve04 -F test3
113execve05 execve05 -F $LTPROOT/testcases/bin/test3
114execve06 execve06 20 $LTPROOT/testcases/bin/execve06 $LTPROOT/testcases/bin/execve06 4
plarscc1b6f22001-09-05 20:37:07 +0000115execvp01 execvp01
116
117exit01 exit01
118exit02 exit02
119
vapier073ad122006-09-10 10:06:06 +0000120#faccessat test cases
121faccessat01 faccessat01
122
subrata_modak122c6032008-01-08 11:01:11 +0000123#fallocate test cases
124fallocate01 fallocate01
125fallocate02 fallocate02
126fallocate03 fallocate03
127
128#posix_fadvise test cases
subrata_modakbad4dde2007-11-22 13:58:24 +0000129posix_fadvise01 posix_fadvise01
130posix_fadvise01_64 posix_fadvise01_64
131posix_fadvise02 posix_fadvise02
132posix_fadvise02_64 posix_fadvise02_64
133posix_fadvise03 posix_fadvise03
134posix_fadvise03_64 posix_fadvise03_64
135posix_fadvise04 posix_fadvise04
136posix_fadvise04_64 posix_fadvise04_64
137
plarscc1b6f22001-09-05 20:37:07 +0000138fchdir01 fchdir01
139fchdir02 fchdir02
robbiewcfd67962002-05-03 15:51:20 +0000140fchdir03 fchdir03
plarscc1b6f22001-09-05 20:37:07 +0000141
142fchmod01 fchmod01
143fchmod02 fchmod02
144fchmod03 fchmod03
145fchmod04 fchmod04
robbiewe71965a2002-08-16 16:48:17 +0000146fchmod05 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchmod05
147fchmod06 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchmod06
plarscc1b6f22001-09-05 20:37:07 +0000148fchmod07 fchmod07
149
vapier6c81d772006-09-10 10:04:50 +0000150#fchmodat test cases
151fchmodat01 fchmodat01
152
plarscc1b6f22001-09-05 20:37:07 +0000153fchown01 fchown01
154fchown02 fchown02
robbiewe71965a2002-08-16 16:48:17 +0000155fchown03 cp -p $LTPROOT/testcases/bin/change_owner $TMP;fchown03
plars6cf88ad2003-07-30 17:06:02 +0000156fchown04 export change_owner=$LTPROOT/testcases/bin/change_owner;fchown04
plarscc1b6f22001-09-05 20:37:07 +0000157fchown05 fchown05
158
vapier032481e2006-08-24 00:24:45 +0000159#fchownat test case
160fchownat01 fchownat01
161
robbiew91f51982001-09-11 16:48:47 +0000162fcntl01 fcntl01
plarscc1b6f22001-09-05 20:37:07 +0000163fcntl02 fcntl02
164fcntl03 fcntl03
165fcntl04 fcntl04
166fcntl05 fcntl05
167fcntl06 fcntl06
168fcntl07 fcntl07
169fcntl07B fcntl07B
170fcntl08 fcntl08
171fcntl09 fcntl09
172fcntl10 fcntl10
plars6b8cccf2001-09-25 15:26:11 +0000173fcntl11 fcntl11
174fcntl12 fcntl12
175fcntl13 fcntl13
176fcntl14 fcntl14
177fcntl15 fcntl15
robbiew869e9a42005-02-24 22:32:45 +0000178#fcntl16 fcntl16 #Contains errors.
plars6b8cccf2001-09-25 15:26:11 +0000179fcntl17 fcntl17
180fcntl18 fcntl18
181fcntl19 fcntl19
182fcntl20 fcntl20
183fcntl21 fcntl21
robbiew25ae5452004-03-02 22:55:42 +0000184fcntl22 fcntl22
185fcntl23 fcntl23
robbiew7937de62005-05-10 18:15:42 +0000186fcntl24 fcntl24
187fcntl25 fcntl25
188fcntl26 fcntl26
mreed10112fa152006-05-15 17:49:45 +0000189# The tests for these system calls fcntl27 and fcntl28 are temporarily being disabled
190# fcntl27 fcntl27
191# fcntl28 fcntl28
plarscc1b6f22001-09-05 20:37:07 +0000192
robbiew3a6f12b2002-12-20 17:13:14 +0000193fdatasync01 fdatasync01
194fdatasync02 fdatasync02
195
robbiewffd39942002-12-02 18:24:37 +0000196flock01 flock01
197flock02 flock02
plars74693462002-12-03 23:05:29 +0000198flock03 flock03
robbiewd7a33fa2002-12-26 20:23:29 +0000199flock04 flock04
200flock05 flock05
robbiew4483a712003-03-03 16:23:16 +0000201flock06 flock06
robbiewffd39942002-12-02 18:24:37 +0000202
robbiewdc44d2e2002-12-30 21:32:36 +0000203fmtmsg01 fmtmsg01
204
plarscc1b6f22001-09-05 20:37:07 +0000205fork01 fork01
206fork02 fork02
207fork03 fork03
208fork04 fork04
209fork05 fork05
210fork06 fork06
211fork07 fork07
212fork08 fork08
213fork09 fork09
plars6b8cccf2001-09-25 15:26:11 +0000214fork10 fork10
215fork11 fork11
plarscc1b6f22001-09-05 20:37:07 +0000216
217fpathconf01 fpathconf01
218
219fstat01 fstat01
220fstat02 fstat02
221fstat03 fstat03
222fstat04 fstat04
robbiew89572422002-06-05 15:35:34 +0000223fstat05 fstat05
plarscc1b6f22001-09-05 20:37:07 +0000224
vapierd2816c42006-08-24 04:20:05 +0000225#fstatat64/newfstatat test cases
226fstatat01 fstatat01
227
plarscc1b6f22001-09-05 20:37:07 +0000228fstatfs01 fstatfs01
229fstatfs02 fstatfs02
230
231fsync01 fsync01
232fsync02 fsync02
233fsync03 fsync03
234
235ftruncate01 ftruncate01
subrata_modak4dd9bbe2008-08-05 02:59:12 +0000236ftruncate01_64 ftruncate01_64
plarscc1b6f22001-09-05 20:37:07 +0000237ftruncate02 ftruncate02
subrata_modak4dd9bbe2008-08-05 02:59:12 +0000238ftruncate02_64 ftruncate02_64
robbiewe0147e92001-09-12 15:48:14 +0000239ftruncate03 ftruncate03
subrata_modak4dd9bbe2008-08-05 02:59:12 +0000240ftruncate03_64 ftruncate03_64
robbiew41b19692003-01-16 16:03:48 +0000241ftruncate04 ftruncate04
subrata_modak4dd9bbe2008-08-05 02:59:12 +0000242ftruncate04_64 ftruncate04_64
plarscc1b6f22001-09-05 20:37:07 +0000243
vapier6eeb1512006-08-24 04:18:31 +0000244#futimesat test cases
245futimesat01 futimesat01
246
robbiewaf04f6e2005-05-26 20:42:13 +0000247getcontext01 getcontext01
248
plarscc1b6f22001-09-05 20:37:07 +0000249getcwd01 getcwd01
250getcwd02 getcwd02
251getcwd03 getcwd03
252
253getdents01 getdents01
254getdents02 getdents02
255getdents03 getdents03
256getdents04 getdents04
plarscc1b6f22001-09-05 20:37:07 +0000257
robbiew83987632002-11-18 20:54:44 +0000258getdomainname01 getdomainname01
259
robbiew41b868b2005-05-26 19:07:12 +0000260getdtablesize01 getdtablesize01
261
plarscc1b6f22001-09-05 20:37:07 +0000262getegid01 getegid01
263
264geteuid01 geteuid01
265
266getgid01 getgid01
267getgid02 getgid02
268getgid03 getgid03
269
270getgroups01 getgroups01
271getgroups02 getgroups02
272getgroups03 getgroups03
273getgroups04 getgroups04
274
275gethostid01 gethostid01
276
277gethostname01 gethostname01
278
279getitimer01 getitimer01
280getitimer02 getitimer02
281getitimer03 getitimer03
282
robbiew7ba4dfb2005-04-12 22:23:09 +0000283getpagesize01 getpagesize01
284
plarscc1b6f22001-09-05 20:37:07 +0000285getpeername01 getpeername01
286
287getpgid01 getpgid01
288getpgid02 getpgid02
289
290getpgrp01 getpgrp01
291
292getpid01 getpid01
293getpid02 getpid02
294
295getppid01 getppid01
296getppid02 getppid02
297
298getpriority01 getpriority01
299getpriority02 getpriority02
300
301getresgid01 getresgid01
302getresgid02 getresgid02
303getresgid03 getresgid03
304
305getresuid01 getresuid01
306getresuid02 getresuid02
307getresuid03 getresuid03
308
robbiew3dde45d2003-01-08 16:33:11 +0000309getrlimit01 getrlimit01
310getrlimit02 getrlimit02
311
robbiewaa7c2cc2002-12-16 21:22:09 +0000312getrusage01 getrusage01
313getrusage02 getrusage02
314
plarscc1b6f22001-09-05 20:37:07 +0000315getsid01 getsid01
316getsid02 getsid02
317
318getsockname01 getsockname01
319
320getsockopt01 getsockopt01
321
subrata_modakcd6dc3f2008-06-17 14:19:27 +0000322gettid01 gettid01
323
plarscc1b6f22001-09-05 20:37:07 +0000324gettimeofday01 gettimeofday01
nstraz5abf9a92002-05-23 15:39:06 +0000325gettimeofday02 gettimeofday02
plarscc1b6f22001-09-05 20:37:07 +0000326
327getuid01 getuid01
328getuid02 getuid02
329getuid03 getuid03
330
robbiewd1e38432003-07-10 16:42:12 +0000331#Needs tty device.
332#ioctl01 ioctl01 -D /dev/tty0
333#ioctl02 ioctl02 -D /dev/tty0
plarscc1b6f22001-09-05 20:37:07 +0000334
subrata_modak9afc5e52007-05-28 10:48:27 +0000335inotify01 inotify01
336inotify02 inotify02
337
robbiew2db8c7e2003-01-01 20:50:36 +0000338ioperm01 ioperm01
339ioperm02 ioperm02
340
robbiew6f9ec432002-12-30 18:08:19 +0000341iopl01 iopl01
342iopl02 iopl02
343
subrata_modak06e466f2008-06-26 13:27:17 +0000344io_cancel01 run-io_cancel.sh
subrata_modakc5792c92008-07-11 20:21:42 +0000345io_destroy01 run-io_destroy.sh
346io_getevents01 run-io_getevents.sh
347io_setup01 run-io_setup.sh
348io_submit01 run-io_submit.sh
subrata_modak06e466f2008-06-26 13:27:17 +0000349
plarscc1b6f22001-09-05 20:37:07 +0000350kill01 kill01
351kill02 kill02
352kill03 kill03
353kill04 kill04
354kill05 kill05
355kill06 kill06
356kill07 kill07
357kill08 kill08
358kill09 kill09
359kill10 kill10
robbiewed3dbbf2003-03-14 15:58:53 +0000360kill11 ulimit -c 1024;kill11
robbiewe237cd32002-12-31 21:21:45 +0000361kill12 kill12
robbiew9f0e6782003-04-15 17:59:51 +0000362
plarscc1b6f22001-09-05 20:37:07 +0000363lchown01 lchown01
robbiewe71965a2002-08-16 16:48:17 +0000364lchown02 cp -p $LTPROOT/testcases/bin/create_link $TMP; lchown02
plarscc1b6f22001-09-05 20:37:07 +0000365
366link01 symlink01 -T link01
367link02 link02
368link03 link03
369link04 link04
370link05 link05
robbiew724848a2002-07-08 16:41:55 +0000371link06 link06
robbiew6bc7e2d2002-07-08 16:47:09 +0000372link07 link07
plarscc1b6f22001-09-05 20:37:07 +0000373
vapieraab2ac02006-09-10 09:59:08 +0000374#linkat test cases
375linkat01 linkat01
376
plarscc1b6f22001-09-05 20:37:07 +0000377listen01 listen01
378
379llseek01 llseek01
380llseek02 llseek02
381
382lseek01 lseek01
383lseek02 lseek02
384lseek03 lseek03
385lseek04 lseek04
386lseek05 lseek05
387lseek06 lseek06
388lseek07 lseek07
389lseek08 lseek08
390lseek09 lseek09
391lseek10 lseek10
392
393lstat01A symlink01 -T lstat01
394lstat01 lstat01
395lstat02 lstat02
robbiewefafa932001-09-12 17:02:12 +0000396lstat03 lstat03
plarscc1b6f22001-09-05 20:37:07 +0000397
robbiew2c012d72003-01-03 21:00:43 +0000398mallopt01 mallopt01
399
robbiew35bd5872003-01-03 20:17:28 +0000400memset01 memset01
robbiew844c8a72003-01-03 20:40:22 +0000401memcmp01 memcmp01
robbiewc6219fd2003-01-03 20:33:32 +0000402memcpy01 memcpy01
robbiew35bd5872003-01-03 20:17:28 +0000403
robbiewb284c112002-11-26 17:24:44 +0000404mlockall01 mlockall01
405mlockall02 mlockall02
robbiewe972ba52005-05-26 19:16:49 +0000406mlockall03 mlockall03
robbiewb284c112002-11-26 17:24:44 +0000407
plarscc1b6f22001-09-05 20:37:07 +0000408mkdir01 mkdir01
409mkdir02 mkdir02
410mkdir03 mkdir03
411mkdir04 mkdir04
robbiewefafa932001-09-12 17:02:12 +0000412mkdir05 mkdir05
plarscc1b6f22001-09-05 20:37:07 +0000413mkdir05A symlink01 -T mkdir05
414mkdir08 mkdir08
robbiewbd756502002-12-04 23:16:31 +0000415mkdir09 mkdir09
plarscc1b6f22001-09-05 20:37:07 +0000416
vapierdfa737c2006-08-24 00:20:29 +0000417#mkdirat test cases
418mkdirat01 mkdir01
419
plarscc1b6f22001-09-05 20:37:07 +0000420mknod01 mknod01
421mknod02 mknod02
422mknod03 mknod03
423mknod04 mknod04
424mknod05 mknod05
425mknod06 mknod06
426mknod07 mknod07
427mknod08 mknod08
robbiew61786512002-06-10 14:59:05 +0000428mknod09 mknod09
plarscc1b6f22001-09-05 20:37:07 +0000429
vapierd780ff62006-08-24 00:23:08 +0000430#mknodat test cases
431mknodat01 mknodat01
432
plarsbd2bbbd2002-06-13 22:16:13 +0000433mlock01 mlock01
434mlock02 mlock02
435
plarscc1b6f22001-09-05 20:37:07 +0000436qmm01 mmap001 -m 1
437mmap01 mmap01
438mmap02 mmap02
439mmap03 mmap03
440mmap04 mmap04
441mmap05 mmap05
442mmap06 mmap06
443mmap07 mmap07
444mmap08 mmap08
plars11556692003-04-09 20:26:41 +0000445mmap09 mmap09
plarscc1b6f22001-09-05 20:37:07 +0000446
robbiew835d5a42001-09-12 18:39:10 +0000447modify_ldt01 modify_ldt01
plarscc1b6f22001-09-05 20:37:07 +0000448modify_ldt02 modify_ldt02
449
robbiew080c2192002-11-26 21:12:07 +0000450#
451# These tests require an unmounted block device
452# to run correctly. Please see individual test
453# code for more information.
454#
455#mount01 mount01 -D /dev/...
456#mount02 mount02 -D /dev/...
457#mount03 mount03 -D /dev/...
458#mount04 mount04 -D /dev/...
459
subrata_modak8dfa1b32008-07-26 04:15:36 +0000460move_pages01 move_pages.sh 01
461move_pages02 move_pages.sh 02
462move_pages03 move_pages.sh 03
463move_pages04 move_pages.sh 04
464move_pages05 move_pages.sh 05
465move_pages06 move_pages.sh 06
466move_pages07 move_pages.sh 07
467move_pages08 move_pages.sh 08
468move_pages09 move_pages.sh 09
469move_pages10 move_pages.sh 10
470move_pages11 move_pages.sh 11
471
plarscc1b6f22001-09-05 20:37:07 +0000472mprotect01 mprotect01
473mprotect02 mprotect02
474mprotect03 mprotect03
475
476mremap01 mremap01
477mremap02 mremap02
478mremap03 mremap03
479mremap04 mremap04
480
481msgctl01 msgctl01
482msgctl02 msgctl02
483msgctl03 msgctl03
robbiew4a6976c2001-09-12 19:00:24 +0000484msgctl04 msgctl04
plarscc1b6f22001-09-05 20:37:07 +0000485msgctl05 msgctl05
robbiew577ff1a2002-12-05 20:12:28 +0000486msgctl06 msgctl06
487msgctl07 msgctl07
488msgctl08 msgctl08
489msgctl09 msgctl09
plarscc1b6f22001-09-05 20:37:07 +0000490
491msgget01 msgget01
492msgget02 msgget02
493msgget03 msgget03
robbiew4a6976c2001-09-12 19:00:24 +0000494msgget04 msgget04
plarscc1b6f22001-09-05 20:37:07 +0000495
496msgrcv01 msgrcv01
robbiew4a6976c2001-09-12 19:00:24 +0000497msgrcv02 msgrcv02
plarscc1b6f22001-09-05 20:37:07 +0000498msgrcv03 msgrcv03
499msgrcv04 msgrcv04
500msgrcv05 msgrcv05
501msgrcv06 msgrcv06
502
503msgsnd01 msgsnd01
robbiew4a6976c2001-09-12 19:00:24 +0000504msgsnd02 msgsnd02
plarscc1b6f22001-09-05 20:37:07 +0000505msgsnd03 msgsnd03
506msgsnd04 msgsnd04
507msgsnd05 msgsnd05
508msgsnd06 msgsnd06
509
510msync01 msync01
511msync02 msync02
512msync03 msync03
513msync04 msync04
514msync05 msync05
515
robbiew3e8143e2002-12-02 18:01:15 +0000516munlock01 munlock01
517munlock02 munlock02
518
robbiew5d74ee32002-12-24 17:08:11 +0000519munlockall01 munlockall01
520munlockall02 munlockall02
521
plarscc1b6f22001-09-05 20:37:07 +0000522munmap01 munmap01
523munmap02 munmap02
524munmap03 munmap03
525
526nanosleep01 nanosleep01
527nanosleep02 nanosleep02
528nanosleep03 nanosleep03
529nanosleep04 nanosleep04
530
robbiewfd1cff32002-12-04 18:33:09 +0000531nftw01 nftw01
532nftw6401 nftw6401
533
plarscc1b6f22001-09-05 20:37:07 +0000534nice01 nice01
535nice02 nice02
536nice03 nice03
robbiew4a6976c2001-09-12 19:00:24 +0000537nice04 nice04
plarscc1b6f22001-09-05 20:37:07 +0000538nice05 nice05
539
540open01 open01
541open01A symlink01 -T open01
542open02 open02
543open03 open03
544open04 open04
545open05 open05
546open06 open06
547open07 open07
robbiew4a6976c2001-09-12 19:00:24 +0000548open08 open08
robbiewa2d47322002-12-31 21:58:11 +0000549open09 open09
robbiew3a77e6e2003-01-06 20:43:47 +0000550open10 open10
plarscc1b6f22001-09-05 20:37:07 +0000551
vapier4aaf10b2006-08-24 01:57:40 +0000552#openat test cases
553openat01 openat01
554
mridgeee9951a2004-08-24 18:42:52 +0000555mincore01 mincore01
556#mincore02 mincore02 currently hangs and does not exit correctly
557madvise01 madvise01
558madvise02 madvise02
559
plarscc1b6f22001-09-05 20:37:07 +0000560pathconf01 pathconf01
561
562pause01 pause01
563pause02 pause02
564pause03 pause03
565
robbiewe493ffb2003-12-16 17:23:24 +0000566# The personality() system call is poorly documented
567# and difficult to figure out how to use by looking
568# at the different architecture specific kernel files.
569#personality01 personality01
570#personality02 personality02
plarscc1b6f22001-09-05 20:37:07 +0000571
572pipe01 pipe01
robbiew906d4682003-01-06 17:23:07 +0000573pipe02 pipe02
574pipe03 pipe03
575pipe04 pipe04
plarscc1b6f22001-09-05 20:37:07 +0000576pipe05 pipe05
577pipe06 pipe06
robbiew906d4682003-01-06 17:23:07 +0000578pipe07 pipe07
plarscc1b6f22001-09-05 20:37:07 +0000579pipe08 pipe08
580pipe09 pipe09
581pipe10 pipe10
582pipe11 pipe11
583
584poll01 poll01
585
robbiewea1ca882002-12-19 19:06:19 +0000586prctl01 prctl01
587prctl02 prctl02
robbiewea1ca882002-12-19 19:06:19 +0000588
plarscc1b6f22001-09-05 20:37:07 +0000589pread01 pread01
590pread02 pread02
robbiewcfd67962002-05-03 15:51:20 +0000591pread03 pread03
plarscc1b6f22001-09-05 20:37:07 +0000592
robbiew4f33e5d2002-12-31 22:12:26 +0000593profil01 profil01
594
robbiew3815a9d2005-05-26 15:40:47 +0000595pselect01 pselect01
596
robbiew7aaab4f2002-12-19 18:21:31 +0000597ptrace01 ptrace01
598ptrace02 ptrace02
599ptrace03 ptrace03
600
plarscc1b6f22001-09-05 20:37:07 +0000601pwrite01 pwrite01
robbiew7da6f532001-09-12 21:41:14 +0000602pwrite02 pwrite02
robbiewcfd67962002-05-03 15:51:20 +0000603pwrite03 pwrite03
robbiew3c658152003-01-07 21:50:34 +0000604pwrite04 pwrite04
plarscc1b6f22001-09-05 20:37:07 +0000605
robbiew63cf8532003-02-20 20:42:12 +0000606
plarscc1b6f22001-09-05 20:37:07 +0000607read01 read01
608read02 read02
609read03 read03
610read04 read04
611
612readdir01 readdir01
robbiewcfd67962002-05-03 15:51:20 +0000613readdir02 readdir02
plarscc1b6f22001-09-05 20:37:07 +0000614
615readlink01A symlink01 -T readlink01
plars9d84a3b2001-09-25 16:05:38 +0000616readlink01 readlink01
plarscc1b6f22001-09-05 20:37:07 +0000617readlink02 readlink02
robbiewf1cd2d52001-09-10 21:15:34 +0000618readlink03 readlink03
robbiewe71965a2002-08-16 16:48:17 +0000619readlink04 cp -f $LTPROOT/testcases/bin/creat_slink $TMP; readlink04
plarscc1b6f22001-09-05 20:37:07 +0000620
vapier8a63ecb2006-09-10 10:03:21 +0000621#readlinkat test cases
622readlinkat01 readlinkat01
623
plarscc1b6f22001-09-05 20:37:07 +0000624readv01 readv01
625readv02 readv02
robbiewcd243f22002-05-21 17:06:02 +0000626readv03 readv03
plarscc1b6f22001-09-05 20:37:07 +0000627
robbiew4e03a3c2002-12-24 17:15:09 +0000628reboot01 reboot01
629reboot02 reboot02
630
robbiew2b3dc622001-09-10 19:33:45 +0000631recv01 recv01
plarscc1b6f22001-09-05 20:37:07 +0000632
robbiew3b67df92001-09-13 16:36:25 +0000633recvfrom01 recvfrom01
plarscc1b6f22001-09-05 20:37:07 +0000634
robbiew3b67df92001-09-13 16:36:25 +0000635recvmsg01 recvmsg01
plarscc1b6f22001-09-05 20:37:07 +0000636
subrata_modakfcfd1602007-10-17 14:33:24 +0000637remap_file_pages01 remap_file_pages01
subrata_modakbf831b52007-10-25 14:20:10 +0000638remap_file_pages02 remap_file_pages02
subrata_modakfcfd1602007-10-17 14:33:24 +0000639
plarscc1b6f22001-09-05 20:37:07 +0000640rename01 rename01
641rename01A symlink01 -T rename01
642rename02 rename02
643rename03 rename03
644rename04 rename04
645rename05 rename05
646rename06 rename06
647rename07 rename07
648rename08 rename08
robbiew528f4282001-09-18 17:10:50 +0000649rename09 rename09
plarscc1b6f22001-09-05 20:37:07 +0000650rename10 rename10
robbiew528f4282001-09-18 17:10:50 +0000651rename12 rename12
plarscc1b6f22001-09-05 20:37:07 +0000652rename13 rename13
robbiew717b4302002-12-04 18:40:58 +0000653rename14 rename14
plarscc1b6f22001-09-05 20:37:07 +0000654
vapierb0493c82006-09-10 09:57:28 +0000655#renameat test cases
656renameat01 renameat01
657
plarscc1b6f22001-09-05 20:37:07 +0000658rmdir01 rmdir01
robbiewed0977d2001-09-13 19:04:48 +0000659rmdir02 rmdir02
plarscc1b6f22001-09-05 20:37:07 +0000660rmdir03 rmdir03
661rmdir03A symlink01 -T rmdir03
662rmdir04 rmdir04
663rmdir05 rmdir05
664
665sbrk01 sbrk01
666
plarsfb9883e2002-12-06 22:57:32 +0000667sched_get_priority_max01 sched_get_priority_max01
668sched_get_priority_max02 sched_get_priority_max02
669
670sched_get_priority_min01 sched_get_priority_min01
671sched_get_priority_min02 sched_get_priority_min02
672
673sched_getparam01 sched_getparam01
674sched_getparam02 sched_getparam02
675sched_getparam03 sched_getparam03
676
robbiew5d7ec242002-12-24 16:51:53 +0000677sched_rr_get_interval01 sched_rr_get_interval01
678sched_rr_get_interval02 sched_rr_get_interval02
679sched_rr_get_interval03 sched_rr_get_interval03
680
plarsfb9883e2002-12-06 22:57:32 +0000681sched_setparam01 sched_setparam01
682sched_setparam02 sched_setparam02
683sched_setparam03 sched_setparam03
684sched_setparam04 sched_setparam04
685sched_setparam05 sched_setparam05
686
plarscc1b6f22001-09-05 20:37:07 +0000687sched_getscheduler01 sched_getscheduler01
688sched_getscheduler02 sched_getscheduler02
689
690sched_setscheduler01 sched_setscheduler01
691sched_setscheduler02 sched_setscheduler02
692
693sched_yield01 sched_yield01
694
695select01 select01
696select02 select02
697select03 select03
698
699semctl01 semctl01
robbiewed0977d2001-09-13 19:04:48 +0000700semctl02 semctl02
plarscc1b6f22001-09-05 20:37:07 +0000701semctl03 semctl03
plarsfea01722002-01-21 20:27:31 +0000702semctl04 semctl04
plarscc1b6f22001-09-05 20:37:07 +0000703semctl05 semctl05
robbiewbc5f6662002-12-05 20:23:49 +0000704semctl06 semctl06
705semctl07 semctl07
plarscc1b6f22001-09-05 20:37:07 +0000706
707semget01 semget01
708semget02 semget02
709semget03 semget03
710semget05 semget05
711semget06 semget06
712
713semop01 semop01
714semop02 semop02
715semop03 semop03
716semop04 semop04
717semop05 semop05
718
719send01 send01
720
plarscc1b6f22001-09-05 20:37:07 +0000721sendfile02 sendfile02
subrata_modakb752e852007-11-28 11:20:03 +0000722sendfile02_64 sendfile02_64
robbiew281272a2001-09-25 17:28:40 +0000723sendfile03 sendfile03
subrata_modakb752e852007-11-28 11:20:03 +0000724sendfile03_64 sendfile03_64
725sendfile04 sendfile04
726sendfile04_64 sendfile04_64
subrata_modak498546d2007-12-05 08:44:26 +0000727sendfile05 sendfile05
728sendfile05_64 sendfile05_64
729sendfile06 sendfile06
730sendfile06_64 sendfile06_64
731sendfile07 sendfile07
732sendfile07_64 sendfile07_64
subrata_modakb752e852007-11-28 11:20:03 +0000733
plarscc1b6f22001-09-05 20:37:07 +0000734
735sendmsg01 sendmsg01
736
737sendto01 sendto01
738
plarsd758be32002-11-01 15:59:31 +0000739setdomainname01 setdomainname01
740setdomainname02 setdomainname02
741setdomainname03 setdomainname03
742
plarscc1b6f22001-09-05 20:37:07 +0000743setfsgid01 setfsgid01
mridgedf9ae7e2004-05-21 14:51:40 +0000744setfsgid02 setfsgid02
745setfsgid03 setfsgid03
plarscc1b6f22001-09-05 20:37:07 +0000746
747setfsuid01 setfsuid01
mridgedf9ae7e2004-05-21 14:51:40 +0000748setfsuid02 setfsuid02
749setfsuid03 setfsuid03
plarscc1b6f22001-09-05 20:37:07 +0000750
751setgid01 setgid01
subrata_modakda53b082008-08-04 12:06:21 +0000752setgid01_16 setgid01_16
plarscc1b6f22001-09-05 20:37:07 +0000753setgid02 setgid02
subrata_modakda53b082008-08-04 12:06:21 +0000754setgid02_16 setgid02_16
plarscc1b6f22001-09-05 20:37:07 +0000755setgid03 setgid03
subrata_modakda53b082008-08-04 12:06:21 +0000756setgid03_16 setgid03_16
plarscc1b6f22001-09-05 20:37:07 +0000757
robbiew26e72a02003-04-08 15:40:07 +0000758setegid01 setegid01
759
plarscc1b6f22001-09-05 20:37:07 +0000760setgroups01 setgroups01
761setgroups02 setgroups02
762setgroups03 setgroups03
robbiew89572422002-06-05 15:35:34 +0000763setgroups04 setgroups04
plarscc1b6f22001-09-05 20:37:07 +0000764
plars2be4eff2002-11-01 15:44:39 +0000765sethostname01 sethostname01
766sethostname02 sethostname02
767sethostname03 sethostname03
768
plarscc1b6f22001-09-05 20:37:07 +0000769setitimer01 setitimer01
770setitimer02 setitimer02
771setitimer03 setitimer03
772
773setpgid01 setpgid01
774setpgid02 setpgid02
775setpgid03 setpgid03
776
777setpgrp01 setpgrp01
778setpgrp02 setpgrp02
779
780setpriority01 setpriority01
781setpriority02 setpriority02
782setpriority03 setpriority03
783setpriority04 setpriority04
784setpriority05 setpriority05
785
786setregid01 setregid01
robbiew2b3dc622001-09-10 19:33:45 +0000787setregid02 setregid02
788setregid03 setregid03
789setregid04 setregid04
plarscc1b6f22001-09-05 20:37:07 +0000790
robbiew802eb8b2002-12-27 18:47:45 +0000791setresgid01 setresgid01
792setresgid02 setresgid02
793setresgid03 setresgid03
794
robbiew2b3dc622001-09-10 19:33:45 +0000795setresuid01 setresuid01
796setresuid02 setresuid02
robbiewd295c942001-09-13 19:41:59 +0000797setresuid03 setresuid03
plarscc1b6f22001-09-05 20:37:07 +0000798
799setreuid01 setreuid01
robbiew2b3dc622001-09-10 19:33:45 +0000800setreuid02 setreuid02
plarscc1b6f22001-09-05 20:37:07 +0000801setreuid03 setreuid03
802setreuid04 setreuid04
803setreuid05 setreuid05
804setreuid06 setreuid06
805
806setrlimit01 setrlimit01
robbiew04dcae82001-09-13 19:52:02 +0000807setrlimit02 setrlimit02
plarscc1b6f22001-09-05 20:37:07 +0000808setrlimit03 setrlimit03
809
810setsid01 setsid01
811
812setsockopt01 setsockopt01
813
814settimeofday01 settimeofday01
815settimeofday02 settimeofday02
816
817setuid01 setuid01
818setuid02 setuid02
819setuid03 setuid03
820
821shmat01 shmat01
822shmat02 shmat02
823shmat03 shmat03
824
825shmctl01 shmctl01
826shmctl02 shmctl02
827shmctl03 shmctl03
plars7ce00c22002-09-30 19:59:58 +0000828shmctl04 shmctl04
plarscc1b6f22001-09-05 20:37:07 +0000829
robbiew2b3dc622001-09-10 19:33:45 +0000830shmdt01 shmdt01
robbiew04dcae82001-09-13 19:52:02 +0000831shmdt02 shmdt02
plarscc1b6f22001-09-05 20:37:07 +0000832
833shmget01 shmget01
834shmget02 shmget02
835shmget03 shmget03
robbiew0c0847c2001-09-13 20:23:54 +0000836shmget04 shmget04
plarscc1b6f22001-09-05 20:37:07 +0000837shmget05 shmget05
838
839sigaction01 sigaction01
robbiew0c0847c2001-09-13 20:23:54 +0000840sigaction02 sigaction02
robbiewee78cc52003-02-24 19:26:42 +0000841
plarscc1b6f22001-09-05 20:37:07 +0000842sigaltstack01 sigaltstack01
843sigaltstack02 sigaltstack02
844
robbiew2845acb2003-02-24 19:38:01 +0000845
plarscc1b6f22001-09-05 20:37:07 +0000846sighold02 sighold02
robbiew7cd714b2003-02-24 22:15:40 +0000847
plarscc1b6f22001-09-05 20:37:07 +0000848signal01 signal01
849signal02 signal02
850signal03 signal03
851signal04 signal04
852signal05 signal05
853
robbiew1a228e02003-02-21 22:14:33 +0000854sigpending02 sigpending02
855
plarscc1b6f22001-09-05 20:37:07 +0000856sigprocmask01 sigprocmask01
857
858sigrelse01 sigrelse01
859
860sigsuspend01 sigsuspend01
861
robbiewf01a9002003-04-15 17:42:39 +0000862
plarscc1b6f22001-09-05 20:37:07 +0000863socket01 socket01
864
robbiewe7c06512003-01-02 16:00:05 +0000865socketcall01 socketcall01
866socketcall02 socketcall02
867socketcall03 socketcall03
868socketcall04 socketcall04
869
plarscc1b6f22001-09-05 20:37:07 +0000870socketpair01 socketpair01
871
872sockioctl01 sockioctl01
873
vapierc033f492006-08-21 07:44:43 +0000874#splice test
875splice01 splice01
876tee01 tee01
877
plarscc1b6f22001-09-05 20:37:07 +0000878stat01 stat01
879stat02 stat02
880stat03 stat03
881stat04 symlink01 -T stat04
882stat05 stat05
883stat06 stat06
884
885statfs01 statfs01
886statfs02 statfs02
robbiew89572422002-06-05 15:35:34 +0000887statfs03 statfs03
plarscc1b6f22001-09-05 20:37:07 +0000888
robbiew783bc452005-08-31 21:31:27 +0000889statvfs01 statvfs01
890
robbiewa30214a2003-11-26 15:35:15 +0000891# This syscall is obsoleted by settimeofday.
plarsfd011592002-08-30 19:14:12 +0000892#stime01 stime01
robbiewa30214a2003-11-26 15:35:15 +0000893#stime02 stime02
plarscc1b6f22001-09-05 20:37:07 +0000894
robbiewc58f59a2002-12-31 22:43:14 +0000895string01 string01
896
robbiew0abc81f2003-01-02 16:45:29 +0000897swapoff01 swapoff01
898swapoff02 swapoff02
899
robbiewbea33222004-08-25 23:26:48 +0000900swapon01 swapon01
901swapon02 swapon02
subrata_modak413ec142007-08-28 07:17:29 +0000902swapon03 swapon03
robbiewdcc848e2003-01-02 21:03:35 +0000903
plarscc1b6f22001-09-05 20:37:07 +0000904symlink01 symlink01
905symlink02 symlink02
robbiew90996112001-09-13 20:31:13 +0000906symlink03 symlink03
plarscc1b6f22001-09-05 20:37:07 +0000907symlink04 symlink04
908symlink05 symlink05
909
vapier460557a2006-09-10 10:00:38 +0000910#symlinkat test cases
911symlinkat01 symlinkat01
912
plarscc1b6f22001-09-05 20:37:07 +0000913sync01 sync01
914sync02 sync02
915
robbiew35c803d2002-12-31 22:53:23 +0000916syscall01 syscall01
917
robbiewed1fe5e2002-12-04 19:06:19 +0000918sysconf01 sysconf01
919
plarscc1b6f22001-09-05 20:37:07 +0000920sysctl01 sysctl01
921sysctl03 sysctl03
922sysctl04 sysctl04
923sysctl05 sysctl05
924
robbiewdb26b082002-12-26 20:48:35 +0000925sysfs01 sysfs01
926sysfs02 sysfs02
927sysfs03 sysfs03
928sysfs04 sysfs04
929sysfs05 sysfs05
930sysfs06 sysfs06
931
plarscc1b6f22001-09-05 20:37:07 +0000932sysinfo01 sysinfo01
933sysinfo02 sysinfo02
934
robbiew564db0e2002-12-09 23:21:23 +0000935syslog01 syslog01
936syslog02 syslog02
937syslog03 syslog03
938syslog04 syslog04
939syslog05 syslog05
940syslog06 syslog06
941syslog07 syslog07
942syslog08 syslog08
943syslog09 syslog09
944syslog10 syslog10
robbiewee4e4fb2003-04-03 15:53:36 +0000945syslog11 syslog11
robbiew4946e5a2003-01-01 20:38:17 +0000946syslog12 syslog12
robbiew564db0e2002-12-09 23:21:23 +0000947
robbiewa30214a2003-11-26 15:35:15 +0000948# This syscall is obsoleted by gettimeofday.
949# time01 time01
950# time02 time02
plarscc1b6f22001-09-05 20:37:07 +0000951
952times01 times01
plarscc1b6f22001-09-05 20:37:07 +0000953times03 times03
954
subrata_modakaf2c9ef2008-06-03 06:54:12 +0000955# New syscall support from 2.6.25 kernel onwards
956
957timerfd01 timerfd01
958
plarscc1b6f22001-09-05 20:37:07 +0000959truncate01 truncate01
960truncate02 truncate02
961truncate03 truncate03
robbiew89572422002-06-05 15:35:34 +0000962truncate04 truncate04
plarscc1b6f22001-09-05 20:37:07 +0000963
robbiew528f4282001-09-18 17:10:50 +0000964# This syscall is obsolete. The latest glibc does not even
965# include the ulimit.h file anymore. The test will fail
966# because the error handling has been simplified.
967#
968# ulimit01 ulimit01
plarscc1b6f22001-09-05 20:37:07 +0000969
970umask01 umask01
971umask02 umask02
972umask03 umask03
973
974uname01 uname01
975uname02 uname02
976uname03 uname03
977
978unlink01 symlink01 -T unlink01
979unlink05 unlink05
980unlink06 unlink06
981unlink07 unlink07
982unlink08 unlink08
983
vapier3688c122006-09-10 09:55:18 +0000984#unlinkat test cases
985unlinkat01 unlinkat01
986
robbiew85b41fd2002-11-27 16:09:57 +0000987#
988# These tests require an unmounted block device
989# to run correctly. Please see individual test
990# code for more information.
991#
992#umount01 umount01 -D /dev/...
993#umount02 umount02 -D /dev/...
994#umount03 umount03 -D /dev/...
robbiew85b41fd2002-11-27 16:09:57 +0000995
robbiew11f37552003-03-03 16:11:17 +0000996ustat01 ustat01
997ustat02 ustat02
998
plarscc1b6f22001-09-05 20:37:07 +0000999utime01 utime01
1000utime01A symlink01 -T utime01
1001utime02 utime02
1002utime03 utime03
1003utime04 utime04
1004utime05 utime05
1005utime06 utime06
1006
subrata_modak27439682008-06-06 08:44:40 +00001007# Introduced from Kernel 2.6.22 onwards
1008utimensat01 utimensat_tests.sh
1009
plarscc1b6f22001-09-05 20:37:07 +00001010vfork01 vfork01
1011vfork02 vfork02
1012
1013vhangup01 vhangup01
1014vhangup02 vhangup02
1015
vapier0b108792006-09-10 10:12:42 +00001016#vmsplice test cases
1017vmsplice01 vmsplice01
1018
plarscc1b6f22001-09-05 20:37:07 +00001019wait02 wait02
1020
1021wait401 wait401
1022wait402 wait402
1023
1024waitpid01 waitpid01
1025waitpid02 waitpid02
1026waitpid03 waitpid03
1027waitpid04 waitpid04
robbiew2b3dc622001-09-10 19:33:45 +00001028waitpid05 waitpid05
plarscc1b6f22001-09-05 20:37:07 +00001029waitpid06 waitpid06
1030waitpid07 waitpid07
1031waitpid08 waitpid08
1032waitpid09 waitpid09
1033waitpid10 waitpid10 5
1034waitpid11 waitpid11
1035waitpid12 waitpid12
1036waitpid13 waitpid13
1037
1038write01 write01
1039write02 write02
1040write03 write03
1041write04 write04
1042write05 write05
1043
1044writev01 writev01
1045writev02 writev02
1046writev03 writev03
1047writev04 writev04
1048writev05 writev05
subrata_modakd2c56482007-06-20 10:52:33 +00001049writev06 writev06
plarscc1b6f22001-09-05 20:37:07 +00001050