1<testname=ltpacpi.sh> 2 <description> 3 ACPI (Advanced Control Power & Integration) testscript for 2.5 kernels. 4 5 <\description> 6 <test_location> 7 ltp/testcases/kernel/device-drivers/acpi/ltpacpi.sh 8 <\test_location> 9<\testname> 10<testname=growfiles> 11 <description> 12 This program will grow a list of files. 13 Each file will grow by grow_incr before the same 14 file grows twice. Each file is open and closed before next file is opened. 15 16 <\description> 17 <test_location> 18 ltp/testcases/kernel/fs/doio/growfiles.c 19 <\test_location> 20<\testname> 21<testname=rwtest> 22 <description> 23 A wrapper for doio and iogen. 24 25 <\description> 26 <test_location> 27 <\test_location> 28<\testname> 29<testname=doio> 30 <description> 31 a general purpose io initiator with system call and 32 write logging. See doio.h for the structure which defines 33 what doio requests should look like. 34 35 Currently doio can handle read,write,reada,writea,ssread, 36 sswrite, and many varieties of listio requests. 37 For disk io, if the O_SSD flag is set doio will allocate 38 the appropriate amount of ssd and do the transfer 39 40 thus, doio 41 can handle all of the primitive types of file io. 42 43 <\description> 44 <test_location> 45 ltp/testcases/kernel/fs/doio/doio.c 46 <\test_location> 47<\testname> 48<testname=iogen> 49 <description> 50 a tool for generating file/sds io for a doio process 51 52 <\description> 53 <test_location> 54 ltp/testcases/kernel/fs/doio/iogen.c 55 <\test_location> 56<\testname> 57<testname=fs_di> 58 <description> 59 A FileSystem Data Integrity test. 60 61 <\description> 62 <test_location> 63 ltp/testcases/kernel/fs/fs_di 64 <\test_location> 65<\testname> 66<testname=fs_inod> 67 <description> 68 Rapidly creates and deletes files through 69 multiple processes running in the background. 70 The user may specify the number of subdirectories 71 to create, the number of files to create (per 72 subdirectory), and the number of times to repeat 73 the creation/deletion cycle. 74 75 <\description> 76 <test_location> 77 ltp/testcases/kernel/fs/fs_inod 78 <\test_location> 79<\testname> 80<testname=fs_maim> 81 <description> 82 Collection of smaller scripts to stress storage management 83 utilities. 84 85 <\description> 86 <test_location> 87 ltp/testcases/kernel/fs/fs_maim 88 <\test_location> 89<\testname> 90<testname=fs_perms> 91 <description> 92 Regression test for Linux filesystem permissions. 93 94 <\description> 95 <test_location> 96 ltp/testcases/kernel/fs/fs_perms/fs_perms.c 97 <\test_location> 98<\testname> 99<testname=fsstress> 100 <description> 101 A highly configurable stress test utility that calls most of the main 102 file system syscalls. Originally developed by SGI for XFS testing. 103 104 <\description> 105 <test_location> 106 ltp/testcases/kernel/fs/fsstress/fsstress.c 107 <\test_location> 108<\testname> 109<testname=fsx-linux> 110 <description> 111 Filesystem stress test developed by Apple Computer, Inc. 112 113 <\description> 114 <test_location> 115 ltp/testcases/kernel/fs/fsx-linux/fsx-linux.c 116 <\test_location> 117<\testname> 118<testname=ftest> 119 <description> 120 A collection of file system tests developed by Sequent/IBM. 121 122 <\description> 123 <test_location> 124 ltp/testcases/kernel/fs/ftest 125 <\test_location> 126<\testname> 127<testname=inode> 128 <description> 129 Inode-based stress tests. 130 131 <\description> 132 <test_location> 133 ltp/testcases/kernel/fs/inode 134 <\test_location> 135<\testname> 136<testname=lftest> 137 <description> 138 The purpose of this test is to verify the file size limitations of a filesystem. 139 It writes one buffer at a time and lseeks from the beginning of the file to the 140 end of the last write position. The intent is to test lseek64. 141 142 <\description> 143 <test_location> 144 ltp/testcases/kernel/fs/lftest/lftest.c 145 <\test_location> 146<\testname> 147<testname=linktest> 148 <description> 149 Regression test for max links per file 150 151 <\description> 152 <test_location> 153 ltp/testcases/kernel/fs/linktest 154 <\test_location> 155<\testname> 156<testname=openfile> 157 <description> 158 Creates files and opens simultaneously 159 160 <\description> 161 <test_location> 162 ltp/testcases/kernel/fs/openfile/openfile.c 163 <\test_location> 164<\testname> 165<testname=proc> 166 <description> 167 Recursively reads all files within /proc filesystem. 168 169 <\description> 170 <test_location> 171 ltp/testcases/kernel/fs/proc 172 <\test_location> 173<\testname> 174<testname=stream> 175 <description> 176 Collection of tests for testing stream functions. 177 178 <\description> 179 <test_location> 180 ltp/testcases/kernel/fs/stream 181 <\test_location> 182<\testname> 183<testname=aio> 184 <description> 185 Collection of asynchronous i/o tests. 186 187 <\description> 188 <test_location> 189 ltp/testcases/kernel/io/aio 190 <\test_location> 191<\testname> 192<testname=direct_io> 193 <description> 194 Collection of direct i/o tests. 195 196 <\description> 197 <test_location> 198 ltp/testcases/kernel/io/direct_io 199 <\test_location> 200<\testname> 201<testname=disktest> 202 <description> 203 Does repeated accesses to a filespec and optionally writes to, reads from, 204 and verifies the data. By default, disktest makes assumptions about 205 the running environment which allows for a quick start of IO generation. 206 However, Disktest has a large number of command line options which can 207 be used to adapt the test for a variety of uses including data integrity, 208 medium integraty, performance, and simple application simulation. 209 210 <\description> 211 <test_location> 212 ltp/testcases/kernel/io/disktest 213 <\test_location> 214<\testname> 215<testname=stress_cd> 216 <description> 217 Creates multiple read threads on the cdrom device. 218 219 <\description> 220 <test_location> 221 ltp/testcases/kernel/io/stress_cd/stress_cd.c 222 <\test_location> 223<\testname> 224<testname=stress_floppy> 225 <description> 226 Tests the reading/writing/formatting on a floppy drive. 227 228 <\description> 229 <test_location> 230 ltp/testcases/kernel/io/stress_floppy 231 <\test_location> 232<\testname> 233<testname=ipc_stress> 234 <description> 235 A collection of tests designed to stress IPC. 236 237 <\description> 238 <test_location> 239 ltp/testcases/kernel/ipc/ipc_stress 240 <\test_location> 241<\testname> 242<testname=pipeio> 243 <description> 244 This tool can be used to beat on system or named pipes. 245 See the help() function below for user information. 246 247 <\description> 248 <test_location> 249 ltp/testcases/kernel/ipc/pipeio/pipeio.c 250 <\test_location> 251<\testname> 252<testname=sem01> 253 <description> 254 Creates a semaphore and two processes. The processes 255 each go through a loop where they semdown, delay for a 256 random amount of time, and semup, so they will almost 257 always be fighting for control of the semaphore. 258 259 <\description> 260 <test_location> 261 ltp/testcases/kernel/ipc/semaphore/sem01.c 262 <\test_location> 263<\testname> 264<testname=sem02> 265 <description> 266 The application creates several threads using pthread_create(). 267 One thread performs a semop() with the SEM_UNDO flag set. The 268 change in sempaphore value performed by that semop should be 269 "undone" only when the last pthread exits. 270 271 <\description> 272 <test_location> 273 ltp/testcases/kernel/ipc/semaphore/sem02.c 274 <\test_location> 275<\testname> 276<testname=libmm> 277 <description> 278 Tests the libmm core API. 279 280 <\description> 281 <test_location> 282 ltp/testcases/kernel/mem/libmm 283 <\test_location> 284<\testname> 285<testname=mem01> 286 <description> 287 Test for exercising virtual memory allocation 288 and usage. It is intended to provide a limited exposure of the 289 system swapper, for now. 290 291 <\description> 292 <test_location> 293 ltp/testcases/kernel/mem/mem/mem01.c 294 <\test_location> 295<\testname> 296<testname=mem02> 297 <description> 298 Checks that memory can be allocated and freed. 299 300 <\description> 301 <test_location> 302 ltp/testcases/kernel/mem/mem/mem02.c 303 <\test_location> 304<\testname> 305<testname=mmapstress> 306 <description> 307 A group of tests for testing mmap(). 308 309 <\description> 310 <test_location> 311 ltp/testcases/kernel/mem/mmapstress 312 <\test_location> 313<\testname> 314<testname=mtest01> 315 <description> 316 mallocs memory <chunksize> at a time until malloc fails. 317 318 <\description> 319 <test_location> 320 ltp/testcases/kernel/mem/mtest01/mtest01.c 321 <\test_location> 322<\testname> 323<testname=mmstress> 324 <description> 325 Performs General Stress with Race conditions 326 327 <\description> 328 <test_location> 329 ltp/testcases/kernel/mem/mtest05/mmstress.c 330 <\test_location> 331<\testname> 332<testname=mmap1> 333 <description> 334 Test the LINUX memory manager. The program is aimed at 335 stressing the memory manager by simultanious map/unmap/read 336 by light weight processes, the test is scheduled to run for 337 a mininum of 24 hours. 338 339 <\description> 340 <test_location> 341 ltp/testcases/kernel/mem/mtest06/mmap1.c 342 <\test_location> 343<\testname> 344<testname=mmap2> 345 <description> 346 Test the LINUX memory manager. The program is aimed at 347 stressing the memory manager by repeaded map/write/unmap of a 348 of a large gb size file. 349 350 <\description> 351 <test_location> 352 ltp/testcases/kernel/mem/mtest06/mmap2.c 353 <\test_location> 354<\testname> 355<testname=mmap3> 356 <description> 357 Test the LINUX memory manager. The program is aimed at 358 stressing the memory manager by repeaded map/write/unmap 359 of file/memory of random size (maximum 1GB) this is done by 360 multiple processes. 361 362 <\description> 363 <test_location> 364 ltp/testcases/kernel/mem/mtest06/mmap3.c 365 <\test_location> 366<\testname> 367<testname=shmat1> 368 <description> 369 Test the LINUX memory manager. The program is aimed at 370 stressing the memory manager by repeaded shmat/write/read/ 371 shmatd of file/memory of random size (maximum 1000 * 4096) 372 done by multiple processes. 373 374 <\description> 375 <test_location> 376 ltp/testcases/kernel/mem/mtest06/shmat1.c 377 <\test_location> 378<\testname> 379<testname=mallocstress> 380 <description> 381 Stresses the VMM and C library by spawning N threads which 382 malloc blocks of increasing size until malloc returns NULL. 383 384 <\description> 385 <test_location> 386 ltp/testcases/kernel/mem/mtest07/mallocstress.c 387 <\test_location> 388<\testname> 389<testname=shm_test> 390 <description> 391 Stresses memory management subsystem of Linux. Spawns multiple 392 pairs of reader & writer threads. One thread will create the 393 shared segment of random size and write to this memory, the 394 other pair will read from this memory. 395 396 <\description> 397 <test_location> 398 ltp/testcases/kernel/mem/mtest07/shm_test.c 399 <\test_location> 400<\testname> 401<testname=page> 402 <description> 403 Tests the behavior of memory paging. 404 405 <\description> 406 <test_location> 407 ltp/testcases/kernel/mem/page 408 <\test_location> 409<\testname> 410<testname=shmt> 411 <description> 412 A collection of shared memory tests. 413 414 <\description> 415 <test_location> 416 ltp/testcases/kernel/mem/shmt 417 <\test_location> 418<\testname> 419<testname=vmtests> 420 <description> 421 Data and stack space VM tests. 422 423 <\description> 424 <test_location> 425 ltp/testcases/kernel/mem/vmtests 426 <\test_location> 427<\testname> 428<testname=create_module> 429 <description> 430 Tests the basic functionality of create_module(). 431 432 <\description> 433 <test_location> 434 ltp/testcases/kernel/module/create_module 435 <\test_location> 436<\testname> 437<testname=delete_module> 438 <description> 439 Tests the basic functionality of delete_module(). 440 441 <\description> 442 <test_location> 443 ltp/testcases/kernel/module/delete_module 444 <\test_location> 445<\testname> 446<testname=query_module> 447 <description> 448 Tests the basic functionality of query_module(). 449 450 <\description> 451 <test_location> 452 ltp/testcases/kernel/module/query_module 453 <\test_location> 454<\testname> 455<testname=hangup01> 456 <description> 457 Writes three messages to a slave pty, with a hangup after each. 458 Verifies all thre messages are received. 459 460 <\description> 461 <test_location> 462 ltp/testcases/kernel/pty/hangup01.c 463 <\test_location> 464<\testname> 465<testname=ptem01> 466 <description> 467 - Tests termio/termios ioctls 468 - Tests window size setting and getting 469 - Tests sending a break 470 - Tests multiple opens of slave side 471 - Tests several simultaneous opens 472 473 <\description> 474 <test_location> 475 ltp/testcases/kernel/pty/ptem01.c 476 <\test_location> 477<\testname> 478<testname=pty01> 479 <description> 480 - Tests slave locking 481 - Tests slave operations with closed master 482 - Tests operations on master with closed slave 483 - Tests multiple opens on slave side of pty 484 - Tests opening/closing of lots of ptys in parallel. 485 486 <\description> 487 <test_location> 488 ltp/testcases/kernel/pty/pty01.c 489 <\test_location> 490<\testname> 491<testname=clisrv> 492 <description> 493 Read contents of data file. Write each line to socket, then 494 read line back from socket and write to standard output. 495 496 <\description> 497 <test_location> 498 ltp/testcases/kernel/sched/clisrv 499 <\test_location> 500<\testname> 501<testname=ht_enabled> 502 <description> 503 Test for whether HT enabling is the default setting and 504 the kernel option works as expected. 505 506 <\description> 507 <test_location> 508 ltp/testcases/kernel/sched/hyperthreading/ht_enabled 509 <\test_location> 510<\testname> 511<testname=ht_affinity> 512 <description> 513 Test for whether a set of system calls is provided to bind 514 itself or another process to a subset of currently active 515 processors and to get affinity information. 516 517 <\description> 518 <test_location> 519 ltp/testcases/kernel/sched/hyperthreading/ht_affinity 520 <\test_location> 521<\testname> 522<testname=ht_interrupt> 523 <description> 524 Test for SMP interrupt distribution among all logical CPU 525 should not be interfered by HT patch. 526 527 <\description> 528 <test_location> 529 ltp/testcases/kernel/sched/hyperthreading/ht_interrupt 530 <\test_location> 531<\testname> 532<testname=process_stress> 533 <description> 534 Stresses the process management kernel code. 535 536 <\description> 537 <test_location> 538 ltp/testcases/kernel/sched/process_stress 539 <\test_location> 540<\testname> 541<testname=pth_str01> 542 <description> 543 Creates a tree of threads 544 545 <\description> 546 <test_location> 547 ltp/testcases/kernel/sched/pthreads/pth_str01.c 548 <\test_location> 549<\testname> 550<testname=pth_str02> 551 <description> 552 Creates n threads 553 554 <\description> 555 <test_location> 556 ltp/testcases/kernel/sched/pthreads/pth_str02.c 557 <\test_location> 558<\testname> 559<testname=pth_str03> 560 <description> 561 Creates a tree of threads does calculations, and 562 returns result to parent 563 564 <\description> 565 <test_location> 566 ltp/testcases/kernel/sched/pthreads/pth_str03.c 567 <\test_location> 568<\testname> 569<testname=sched_stress> 570 <description> 571 Stress the scheduler code of the kernel. 572 573 <\description> 574 <test_location> 575 ltp/testcases/kernel/sched/sched_stress 576 <\test_location> 577<\testname> 578<testname=time-schedule> 579 <description> 580 Tool to test how long a context switch takes. 581 582 <\description> 583 <test_location> 584 ltp/testcases/kernel/sched/tool/time-schedule.c 585 <\test_location> 586<\testname> 587<testname=trace_sched> 588 <description> 589 This utility spawns N tasks, each task sets its priority by 590 making a system call to the scheduler. The thread function 591 reads the priority that tbe schedular sets for this task and 592 also reads from /proc the processor this task last executed on 593 the information that is gathered by the thread function may 594 be in real-time. Its only an approximation. 595 596 <\description> 597 <test_location> 598 ltp/testcases/kernel/sched/tool/trace_sched.c 599 <\test_location> 600<\testname> 601<testname=abort01> 602 <description> 603 Basic test for abort(3). 604 605 <\description> 606 <test_location> 607 ltp/testcases/kernel/syscalls/abort/abort01.c 608 <\test_location> 609<\testname> 610<testname=accept01> 611 <description> 612 Verify that accept() returns the proper errno for various failure cases 613 614 <\description> 615 <test_location> 616 ltp/testcases/kernel/syscalls/accept/accept01.c 617 <\test_location> 618<\testname> 619<testname=access01> 620 <description> 621 Basic test for access(2) using F_OK, R_OK, W_OK, and X_OK arguments. 622 623 <\description> 624 <test_location> 625 ltp/testcases/kernel/syscalls/access/access01.c 626 <\test_location> 627<\testname> 628<testname=access02> 629 <description> 630 Verify that access() succeeds to check the read/write/execute permissions 631 on a file if the mode argument passed was R_OK/W_OK/X_OK. 632 633 Also verify that, access() succeeds to test the accessibility of the file 634 referred to by symbolic link if the pathname points to a symbolic link. 635 636 <\description> 637 <test_location> 638 ltp/testcases/kernel/syscalls/access/access02.c 639 <\test_location> 640<\testname> 641<testname=access03> 642 <description> 643 EFAULT error testing for access(2). 644 645 <\description> 646 <test_location> 647 ltp/testcases/kernel/syscalls/access/access03.c 648 <\test_location> 649<\testname> 650<testname=access04> 651 <description> 652 Verify that, 653 1. access() fails with -1 return value and sets errno to EACCES 654 if the permission bits of the file mode do not permit the 655 requested (Read/Write/Execute) access. 656 2. access() fails with -1 return value and sets errno to EINVAL 657 if the specified access mode argument is invalid. 658 3. access() fails with -1 return value and sets errno to EFAULT 659 if the pathname points outside allocate address space for the 660 process. 661 4. access() fails with -1 return value and sets errno to ENOENT 662 if the specified file doesn't exist (or pathname is NULL). 663 5. access() fails with -1 return value and sets errno to ENAMETOOLONG 664 if the pathname size is > PATH_MAX characters. 665 666 <\description> 667 <test_location> 668 ltp/testcases/kernel/syscalls/access/access04.c 669 <\test_location> 670<\testname> 671<testname=access05> 672 <description> 673 Verify that access() succeeds to check the existance of a file if 674 search access is permitted on the pathname of the specified file. 675 676 <\description> 677 <test_location> 678 ltp/testcases/kernel/syscalls/access/access05.c 679 <\test_location> 680<\testname> 681<testname=acct01> 682 <description> 683 Issues calls to acct() and tests the returned values against expected 684 results 685 686 <\description> 687 <test_location> 688 ltp/testcases/kernel/syscalls/acct/acct01.c 689 <\test_location> 690<\testname> 691<testname=adjtimex01> 692 <description> 693 Basic test for adjtimex(). 694 695 <\description> 696 <test_location> 697 ltp/testcases/kernel/syscalls/adjtimex/adjtimex01.c 698 <\test_location> 699<\testname> 700<testname=adjtimex02> 701 <description> 702 Tests for error conditions. 703 704 <\description> 705 <test_location> 706 ltp/testcases/kernel/syscalls/adjtimex/adjtimex02.c 707 <\test_location> 708<\testname> 709<testname=alarm01> 710 <description> 711 Basic test for alarm(2). 712 713 <\description> 714 <test_location> 715 ltp/testcases/kernel/syscalls/alarm/alarm01.c 716 <\test_location> 717<\testname> 718<testname=alarm02> 719 <description> 720 Boundary Value Test for alarm(2). 721 722 <\description> 723 <test_location> 724 ltp/testcases/kernel/syscalls/alarm/alarm02.c 725 <\test_location> 726<\testname> 727<testname=alarm03> 728 <description> 729 Alarm(2) cleared by a fork. 730 731 <\description> 732 <test_location> 733 ltp/testcases/kernel/syscalls/alarm/alarm03.c 734 <\test_location> 735<\testname> 736<testname=alarm04> 737 <description> 738 Check that when an alarm request is made, the signal SIGALRM is received 739 even after the process has done an exec(). 740 741 <\description> 742 <test_location> 743 <\test_location> 744<\testname> 745<testname=alarm05> 746 <description> 747 Check the functionality of the Alarm system call when the time input 748 parameter is non zero. 749 750 <\description> 751 <test_location> 752 ltp/testcases/kernel/syscalls/alarm/alarm05.c 753 <\test_location> 754<\testname> 755<testname=alarm06> 756 <description> 757 Check the functionality of the Alarm system call when the time input 758 parameter is zero. 759 760 <\description> 761 <test_location> 762 ltp/testcases/kernel/syscalls/alarm/alarm06.c 763 <\test_location> 764<\testname> 765<testname=alarm07> 766 <description> 767 Check the functionality of the alarm() when the time input 768 parameter is non-zero and the process does a fork. 769 770 <\description> 771 <test_location> 772 ltp/testcases/kernel/syscalls/alarm/alarm07.c 773 <\test_location> 774<\testname> 775<testname=asyncio02> 776 <description> 777 Write/close flushes data to the file. 778 779 <\description> 780 <test_location> 781 ltp/testcases/kernel/syscalls/asyncio/asyncio02.c 782 <\test_location> 783<\testname> 784<testname=bind01> 785 <description> 786 Verify that bind() returns the proper errno for various failure cases 787 788 <\description> 789 <test_location> 790 ltp/testcases/kernel/syscalls/bind/bind01.c 791 <\test_location> 792<\testname> 793<testname=brk01> 794 <description> 795 Test the basic functionality of brk(). 796 797 <\description> 798 <test_location> 799 ltp/testcases/kernel/syscalls/brk/brk01.c 800 <\test_location> 801<\testname> 802<testname=capget01> 803 <description> 804 Test the basic functionality of capget(). 805 806 <\description> 807 <test_location> 808 ltp/testcases/kernel/syscalls/capget/capget01.c 809 <\test_location> 810<\testname> 811<testname=capget02> 812 <description> 813 Test the error conditions of capget(). 814 815 <\description> 816 <test_location> 817 ltp/testcases/kernel/syscalls/capget/capget02.c 818 <\test_location> 819<\testname> 820<testname=capset01> 821 <description> 822 Test the basic functionality of capset(). 823 824 <\description> 825 <test_location> 826 ltp/testcases/kernel/syscalls/capset/capset01.c 827 <\test_location> 828<\testname> 829<testname=capset02> 830 <description> 831 Test the error conditions of capset(). 832 833 <\description> 834 <test_location> 835 ltp/testcases/kernel/syscalls/capset/capset02.c 836 <\test_location> 837<\testname> 838<testname=chdir01> 839 <description> 840 Check proper operation of chdir(): tests whether the 841 system call can it change the current, working directory, and find a 842 file there? Will it fail on a non-directory entry ? 843 844 <\description> 845 <test_location> 846 ltp/testcases/kernel/syscalls/chdir/chdir01.c 847 <\test_location> 848<\testname> 849<testname=chdir02> 850 <description> 851 Basic test for chdir(2). 852 853 <\description> 854 <test_location> 855 ltp/testcases/kernel/syscalls/chdir/chdir02.c 856 <\test_location> 857<\testname> 858<testname=chdir03> 859 <description> 860 Testcase for testing that chdir(2) sets EACCES errno 861 862 <\description> 863 <test_location> 864 ltp/testcases/kernel/syscalls/chdir/chdir03.c 865 <\test_location> 866<\testname> 867<testname=chdir04> 868 <description> 869 Testcase to test whether chdir(2) sets errno correctly. 870 871 <\description> 872 <test_location> 873 ltp/testcases/kernel/syscalls/chdir/chdir04.c 874 <\test_location> 875<\testname> 876<testname=chmod01> 877 <description> 878 Verify that, chmod(2) succeeds when used to change the mode permissions 879 of a file. 880 881 <\description> 882 <test_location> 883 ltp/testcases/kernel/syscalls/chmod/chmod01.c 884 <\test_location> 885<\testname> 886<testname=chmod02> 887 <description> 888 Basic test for chmod(2). 889 890 <\description> 891 <test_location> 892 ltp/testcases/kernel/syscalls/chmod/chmod02.c 893 <\test_location> 894<\testname> 895<testname=chmod03> 896 <description> 897 Verify that, chmod(2) will succeed to change the mode of a file 898 and set the sticky bit on it if invoked by non-root (uid != 0) 899 process with the following constraints, 900 - the process is the owner of the file. 901 - the effective group ID or one of the supplementary group ID's of the 902 process is equal to the group ID of the file. 903 904 <\description> 905 <test_location> 906 ltp/testcases/kernel/syscalls/chmod/chmod03.c 907 <\test_location> 908<\testname> 909<testname=chmod04> 910 <description> 911 Verify that, chmod(2) will succeed to change the mode of a directory 912 and set the sticky bit on it if invoked by non-root (uid != 0) process 913 with the following constraints, 914 - the process is the owner of the directory. 915 - the effective group ID or one of the supplementary group ID's of the 916 process is equal to the group ID of the directory. 917 918 <\description> 919 <test_location> 920 ltp/testcases/kernel/syscalls/chmod/chmod04.c 921 <\test_location> 922<\testname> 923<testname=chmod05> 924 <description> 925 Verify that, chmod(2) will succeed to change the mode of a directory 926 but fails to set the setgid bit on it if invoked by non-root (uid != 0) 927 process with the following constraints, 928 - the process is the owner of the directory. 929 - the effective group ID or one of the supplementary group ID's of the 930 process is not equal to the group ID of the directory. 931 932 <\description> 933 <test_location> 934 ltp/testcases/kernel/syscalls/chmod/chmod05.c 935 <\test_location> 936<\testname> 937<testname=chmod06> 938 <description> 939 Verify that, 940 1) chmod(2) returns -1 and sets errno to EPERM if the effective user id 941 of process does not match the owner of the file and the process is 942 not super user. 943 2) chmod(2) returns -1 and sets errno to EACCES if search permission is 944 denied on a component of the path prefix. 945 3) chmod(2) returns -1 and sets errno to EFAULT if pathname points 946 outside user's accessible address space. 947 4) chmod(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 948 component is too long. 949 5) chmod(2) returns -1 and sets errno to ENOTDIR if the directory 950 component in pathname is not a directory. 951 6) chmod(2) returns -1 and sets errno to ENOENT if the specified file 952 does not exists. 953 954 <\description> 955 <test_location> 956 ltp/testcases/kernel/syscalls/chmod/chmod06.c 957 <\test_location> 958<\testname> 959<testname=chmod07> 960 <description> 961 Verify that, chmod(2) will succeed to change the mode of a file/directory 962 and sets the sticky bit on it if invoked by root (uid = 0) process with 963 the following constraints, 964 - the process is not the owner of the file/directory. 965 - the effective group ID or one of the supplementary group ID's of the 966 process is equal to the group ID of the file/directory. 967 968 <\description> 969 <test_location> 970 ltp/testcases/kernel/syscalls/chmod/chmod07.c 971 <\test_location> 972<\testname> 973<testname=chown01> 974 <description> 975 Basic test for chown(2). 976 977 <\description> 978 <test_location> 979 ltp/testcases/kernel/syscalls/chown/chown01.c 980 <\test_location> 981<\testname> 982<testname=chown02> 983 <description> 984 Verify that, when chown(2) invoked by super-user to change the owner and 985 group of a file specified by path to any numeric owner(uid)/group(gid) 986 values, 987 - clears setuid and setgid bits set on an executable file. 988 - preserves setgid bit set on a non-group-executable file. 989 990 <\description> 991 <test_location> 992 ltp/testcases/kernel/syscalls/chown/chown02.c 993 <\test_location> 994<\testname> 995<testname=chown03> 996 <description> 997 Verify that, chown(2) succeeds to change the group of a file specified 998 by path when called by non-root user with the following constraints, 999 - euid of the process is equal to the owner of the file. 1000 - the intended gid is either egid, or one of the supplementary gids 1001 of the process. 1002 Also, verify that chown() clears the setuid/setgid bits set on the file. 1003 1004 <\description> 1005 <test_location> 1006 ltp/testcases/kernel/syscalls/chown/chown03.c 1007 <\test_location> 1008<\testname> 1009<testname=chown04> 1010 <description> 1011 Verify that, 1012 1) chown(2) returns -1 and sets errno to EPERM if the effective user id 1013 of process does not match the owner of the file and the process is 1014 not super user. 1015 2) chown(2) returns -1 and sets errno to EACCES if search permission is 1016 denied on a component of the path prefix. 1017 3) chown(2) returns -1 and sets errno to EFAULT if pathname points 1018 outside user's accessible address space. 1019 4) chown(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 1020 component is too long. 1021 5) chown(2) returns -1 and sets errno to ENOTDIR if the directory 1022 component in pathname is not a directory. 1023 6) chown(2) returns -1 and sets errno to ENOENT if the specified file 1024 does not exists. 1025 1026 <\description> 1027 <test_location> 1028 ltp/testcases/kernel/syscalls/chown/chown04.c 1029 <\test_location> 1030<\testname> 1031<testname=chown05> 1032 <description> 1033 Verify that, chown(2) succeeds to change the owner and group of a file 1034 specified by path to any numeric owner(uid)/group(gid) values when invoked 1035 by super-user. 1036 1037 <\description> 1038 <test_location> 1039 ltp/testcases/kernel/syscalls/chown/chown05.c 1040 <\test_location> 1041<\testname> 1042<testname=chroot01> 1043 <description> 1044 Testcase to check the whether chroot sets errno to EPERM. 1045 1046 <\description> 1047 <test_location> 1048 ltp/testcases/kernel/syscalls/chroot/chroot01.c 1049 <\test_location> 1050<\testname> 1051<testname=chroot02> 1052 <description> 1053 Test functionality of chroot(2) 1054 1055 <\description> 1056 <test_location> 1057 ltp/testcases/kernel/syscalls/chroot/chroot02.c 1058 <\test_location> 1059<\testname> 1060<testname=chroot03> 1061 <description> 1062 Testcase to test whether chroot(2) sets errno correctly. 1063 1064 <\description> 1065 <test_location> 1066 ltp/testcases/kernel/syscalls/chroot/chroot03.c 1067 <\test_location> 1068<\testname> 1069<testname=clone01> 1070 <description> 1071 Basic test for clone(2) 1072 1073 <\description> 1074 <test_location> 1075 ltp/testcases/kernel/syscalls/clone/clone01.c 1076 <\test_location> 1077<\testname> 1078<testname=clone02> 1079 <description> 1080 Functionality tests for clone(2) 1081 1082 <\description> 1083 <test_location> 1084 ltp/testcases/kernel/syscalls/clone/clone02.c 1085 <\test_location> 1086<\testname> 1087<testname=clone03> 1088 <description> 1089 Test for clone(2) 1090 1091 <\description> 1092 <test_location> 1093 ltp/testcases/kernel/syscalls/clone/clone03.c 1094 <\test_location> 1095<\testname> 1096<testname=clone04> 1097 <description> 1098 Test for checking error conditions for clone(2) 1099 1100 <\description> 1101 <test_location> 1102 ltp/testcases/kernel/syscalls/clone/clone04.c 1103 <\test_location> 1104<\testname> 1105<testname=clone05> 1106 <description> 1107 Test for CLONE_VFORK flag 1108 1109 <\description> 1110 <test_location> 1111 ltp/testcases/kernel/syscalls/clone/clone05.c 1112 <\test_location> 1113<\testname> 1114<testname=clone06> 1115 <description> 1116 Test to verify inheritance of environment variables. 1117 1118 <\description> 1119 <test_location> 1120 ltp/testcases/kernel/syscalls/clone/clone06.c 1121 <\test_location> 1122<\testname> 1123<testname=close01> 1124 <description> 1125 Test that closing a regular file and a pipe works correctly 1126 1127 <\description> 1128 <test_location> 1129 ltp/testcases/kernel/syscalls/close/close01.c 1130 <\test_location> 1131<\testname> 1132<testname=close02> 1133 <description> 1134 Check that an invalid file descriptor returns EBADF 1135 1136 <\description> 1137 <test_location> 1138 ltp/testcases/kernel/syscalls/close/close02.c 1139 <\test_location> 1140<\testname> 1141<testname=close08> 1142 <description> 1143 Basic test for close(2). 1144 1145 <\description> 1146 <test_location> 1147 ltp/testcases/kernel/syscalls/close/close08.c 1148 <\test_location> 1149<\testname> 1150<testname=confstr01> 1151 <description> 1152 Basic test for confstr(). 1153 1154 <\description> 1155 <test_location> 1156 ltp/testcases/kernel/syscalls/confstr/confstr01.c 1157 <\test_location> 1158<\testname> 1159<testname=connect01> 1160 <description> 1161 Verify that connect() returns the proper errno for various failure cases 1162 1163 <\description> 1164 <test_location> 1165 ltp/testcases/kernel/syscalls/connect/connect01.c 1166 <\test_location> 1167<\testname> 1168<testname=creat01> 1169 <description> 1170 Testcase to check the basic functionality of the creat(2) system call. 1171 1172 <\description> 1173 <test_location> 1174 ltp/testcases/kernel/syscalls/creat/creat01.c 1175 <\test_location> 1176<\testname> 1177<testname=creat03> 1178 <description> 1179 Testcase to check whether the sticky bit cleared. 1180 1181 <\description> 1182 <test_location> 1183 ltp/testcases/kernel/syscalls/creat/creat03.c 1184 <\test_location> 1185<\testname> 1186<testname=creat04> 1187 <description> 1188 Testcase to check creat(2) fails with EACCES 1189 1190 <\description> 1191 <test_location> 1192 ltp/testcases/kernel/syscalls/creat/creat04.c 1193 <\test_location> 1194<\testname> 1195<testname=creat05> 1196 <description> 1197 Testcase to check that creat(2) system call returns EMFILE. 1198 1199 <\description> 1200 <test_location> 1201 ltp/testcases/kernel/syscalls/creat/creat05.c 1202 <\test_location> 1203<\testname> 1204<testname=creat06> 1205 <description> 1206 Testcase to check creat(2) sets the following errnos correctly: 1207 1. EISDIR 1208 2. ENAMETOOLONG 1209 3. ENOENT 1210 4. ENOTDIR 1211 5. EFAULT 1212 6. EACCES 1213 1214 <\description> 1215 <test_location> 1216 ltp/testcases/kernel/syscalls/creat/creat06.c 1217 <\test_location> 1218<\testname> 1219<testname=creat07> 1220 <description> 1221 Testcase to check creat(2) sets the following errnos correctly: 1222 1. ETXTBSY 1223 1224 <\description> 1225 <test_location> 1226 ltp/testcases/kernel/syscalls/creat/creat07.c 1227 <\test_location> 1228<\testname> 1229<testname=creat08> 1230 <description> 1231 Verifies that the group ID and setgid bit are set correctly when 1232 a new file is created. 1233 1234 <\description> 1235 <test_location> 1236 ltp/testcases/kernel/syscalls/creat/creat08.c 1237 <\test_location> 1238<\testname> 1239<testname=dup01> 1240 <description> 1241 Basic test for dup(2). 1242 1243 <\description> 1244 <test_location> 1245 ltp/testcases/kernel/syscalls/dup/dup01.c 1246 <\test_location> 1247<\testname> 1248<testname=dup02> 1249 <description> 1250 Negative test for dup(2) with bad fd. 1251 1252 <\description> 1253 <test_location> 1254 ltp/testcases/kernel/syscalls/dup/dup02.c 1255 <\test_location> 1256<\testname> 1257<testname=dup03> 1258 <description> 1259 Negative test for dup(2) (too many fds). 1260 1261 <\description> 1262 <test_location> 1263 ltp/testcases/kernel/syscalls/dup/dup03.c 1264 <\test_location> 1265<\testname> 1266<testname=dup04> 1267 <description> 1268 Basic test for dup(2) of a system pipe descriptor. 1269 1270 <\description> 1271 <test_location> 1272 ltp/testcases/kernel/syscalls/dup/dup04.c 1273 <\test_location> 1274<\testname> 1275<testname=dup05> 1276 <description> 1277 Basic test for dup(2) of a named pipe descriptor. 1278 1279 <\description> 1280 <test_location> 1281 ltp/testcases/kernel/syscalls/dup/dup05.c 1282 <\test_location> 1283<\testname> 1284<testname=dup06> 1285 <description> 1286 Test if dup returns -1 on the 21st file when _NFILE is 20. 1287 1288 <\description> 1289 <test_location> 1290 ltp/testcases/kernel/syscalls/dup/dup06.c 1291 <\test_location> 1292<\testname> 1293<testname=dup07> 1294 <description> 1295 Test if the access mode is the same for both file descriptors. 1296 1297 <\description> 1298 <test_location> 1299 ltp/testcases/kernel/syscalls/dup/dup07.c 1300 <\test_location> 1301<\testname> 1302<testname=dup201> 1303 <description> 1304 Negative tests for dup2() with bad fd (EBADF), and for "too many 1305 open files" (EMFILE) 1306 1307 <\description> 1308 <test_location> 1309 ltp/testcases/kernel/syscalls/dup2/dup201.c 1310 <\test_location> 1311<\testname> 1312<testname=dup202> 1313 <description> 1314 Is the access mode the same for both file descriptors? 1315 0: read only ? "0444" 1316 1: write only ? "0222" 1317 2: read/write ? "0666" 1318 1319 <\description> 1320 <test_location> 1321 ltp/testcases/kernel/syscalls/dup2/dup202.c 1322 <\test_location> 1323<\testname> 1324<testname=dup203> 1325 <description> 1326 Testcase to check the basic functionality of dup2(). 1327 1328 <\description> 1329 <test_location> 1330 ltp/testcases/kernel/syscalls/dup2/dup203.c 1331 <\test_location> 1332<\testname> 1333<testname=dup204> 1334 <description> 1335 Testcase to check the basic functionality of dup2(2). 1336 1337 <\description> 1338 <test_location> 1339 ltp/testcases/kernel/syscalls/dup2/dup204.c 1340 <\test_location> 1341<\testname> 1342<testname=dup205> 1343 <description> 1344 Testcase to check if -1 is returned on the 21st file when _NFILE is 20. 1345 1346 <\description> 1347 <test_location> 1348 ltp/testcases/kernel/syscalls/dup2/dup205.c 1349 <\test_location> 1350<\testname> 1351<testname=execl01> 1352 <description> 1353 Basic test for execl(2). 1354 1355 <\description> 1356 <test_location> 1357 ltp/testcases/kernel/syscalls/execl/execl01.c 1358 <\test_location> 1359<\testname> 1360<testname=execle01> 1361 <description> 1362 Basic test for execle(2). 1363 1364 <\description> 1365 <test_location> 1366 ltp/testcases/kernel/syscalls/execle/execle01.c 1367 <\test_location> 1368<\testname> 1369<testname=execlp01> 1370 <description> 1371 Basic test for execlp(2). 1372 1373 <\description> 1374 <test_location> 1375 ltp/testcases/kernel/syscalls/execlp/execlp01.c 1376 <\test_location> 1377<\testname> 1378<testname=execv01> 1379 <description> 1380 Basic test for execv(2). 1381 1382 <\description> 1383 <test_location> 1384 ltp/testcases/kernel/syscalls/execv/execv01.c 1385 <\test_location> 1386<\testname> 1387<testname=execve01> 1388 <description> 1389 Basic test for execve(2). 1390 1391 <\description> 1392 <test_location> 1393 ltp/testcases/kernel/syscalls/execve/execve01.c 1394 <\test_location> 1395<\testname> 1396<testname=execve02> 1397 <description> 1398 Testcase to check whether execve(2) sets errno to EACCES correctly 1399 1400 <\description> 1401 <test_location> 1402 ltp/testcases/kernel/syscalls/execve/execve02.c 1403 <\test_location> 1404<\testname> 1405<testname=execve03> 1406 <description> 1407 Testcase to check execve sets the following errnos correctly: 1408 1. ENAMETOOLONG 1409 2. ENOENT 1410 3. ENOTDIR 1411 4. EFAULT 1412 5. EACCES 1413 6. ENOEXEC 1414 1415 <\description> 1416 <test_location> 1417 ltp/testcases/kernel/syscalls/execve/execve03.c 1418 <\test_location> 1419<\testname> 1420<testname=execve04> 1421 <description> 1422 Testcase to check execve(2) sets errno to EMFILE correctly 1423 1424 <\description> 1425 <test_location> 1426 ltp/testcases/kernel/syscalls/execve/execve04.c 1427 <\test_location> 1428<\testname> 1429<testname=execve05> 1430 <description> 1431 Testcase to check execve sets the following errnos correctly: 1432 1. ETXTBSY 1433 1434 <\description> 1435 <test_location> 1436 ltp/testcases/kernel/syscalls/execve/execve05.c 1437 <\test_location> 1438<\testname> 1439<testname=execvp01> 1440 <description> 1441 Basic test for execvp(2) 1442 1443 <\description> 1444 <test_location> 1445 ltp/testcases/kernel/syscalls/execvp/execvp01.c 1446 <\test_location> 1447<\testname> 1448<testname=exit01> 1449 <description> 1450 Check that exit returns the correct values to the waiting parent 1451 1452 <\description> 1453 <test_location> 1454 ltp/testcases/kernel/syscalls/exit/exit01.c 1455 <\test_location> 1456<\testname> 1457<testname=exit02> 1458 <description> 1459 Check that exit flushes output file buffers and closes files upon 1460 exitting 1461 1462 <\description> 1463 <test_location> 1464 ltp/testcases/kernel/syscalls/exit/exit02.c 1465 <\test_location> 1466<\testname> 1467<testname=fchdir01> 1468 <description> 1469 create a directory and cd into it. 1470 1471 <\description> 1472 <test_location> 1473 ltp/testcases/kernel/syscalls/fchdir/fchdir01.c 1474 <\test_location> 1475<\testname> 1476<testname=fchdir02> 1477 <description> 1478 try to cd into a bad directory (bad fd). 1479 1480 <\description> 1481 <test_location> 1482 ltp/testcases/kernel/syscalls/fchdir/fchdir02.c 1483 <\test_location> 1484<\testname> 1485<testname=fchmod01> 1486 <description> 1487 Basic test for Fchmod(2). 1488 1489 <\description> 1490 <test_location> 1491 ltp/testcases/kernel/syscalls/fchmod/fchmod01.c 1492 <\test_location> 1493<\testname> 1494<testname=fchmod02> 1495 <description> 1496 Verify that, fchmod(2) will succeed to change the mode of a file/directory 1497 set the sticky bit on it if invoked by root (uid = 0) process with 1498 the following constraints, 1499 - the process is not the owner of the file/directory. 1500 - the effective group ID or one of the supplementary group ID's of the 1501 process is equal to the group ID of the file/directory. 1502 1503 <\description> 1504 <test_location> 1505 ltp/testcases/kernel/syscalls/fchmod/fchmod02.c 1506 <\test_location> 1507<\testname> 1508<testname=fchmod03> 1509 <description> 1510 Verify that, fchmod(2) will succeed to change the mode of a file 1511 and set the sticky bit on it if invoked by non-root (uid != 0) 1512 process with the following constraints, 1513 - the process is the owner of the file. 1514 - the effective group ID or one of the supplementary group ID's of the 1515 process is equal to the group ID of the file. 1516 1517 <\description> 1518 <test_location> 1519 ltp/testcases/kernel/syscalls/fchmod/fchmod03.c 1520 <\test_location> 1521<\testname> 1522<testname=fchmod04> 1523 <description> 1524 Verify that, fchmod(2) will succeed to change the mode of a directory 1525 and set the sticky bit on it if invoked by non-root (uid != 0) process 1526 with the following constraints, 1527 - the process is the owner of the directory. 1528 - the effective group ID or one of the supplementary group ID's of the 1529 process is equal to the group ID of the directory. 1530 1531 <\description> 1532 <test_location> 1533 ltp/testcases/kernel/syscalls/fchmod/fchmod04.c 1534 <\test_location> 1535<\testname> 1536<testname=fchmod05> 1537 <description> 1538 Verify that, fchmod(2) will succeed to change the mode of a directory 1539 but fails to set the setgid bit on it if invoked by non-root (uid != 0) 1540 process with the following constraints, 1541 - the process is the owner of the directory. 1542 - the effective group ID or one of the supplementary group ID's of the 1543 process is not equal to the group ID of the directory. 1544 1545 <\description> 1546 <test_location> 1547 ltp/testcases/kernel/syscalls/fchmod/fchmod05.c 1548 <\test_location> 1549<\testname> 1550<testname=fchmod06> 1551 <description> 1552 Verify that, 1553 1) fchmod(2) returns -1 and sets errno to EPERM if the effective user id 1554 of process does not match the owner of the file and the process is 1555 not super user. 1556 2) fchmod(2) returns -1 and sets errno to EBADF if the file descriptor 1557 of the specified file is not valid. 1558 1559 <\description> 1560 <test_location> 1561 ltp/testcases/kernel/syscalls/fchmod/fchmod06.c 1562 <\test_location> 1563<\testname> 1564<testname=fchmod07> 1565 <description> 1566 Verify that, fchmod(2) succeeds when used to change the mode permissions 1567 of a file specified by file descriptor. 1568 1569 <\description> 1570 <test_location> 1571 ltp/testcases/kernel/syscalls/fchmod/fchmod07.c 1572 <\test_location> 1573<\testname> 1574<testname=fchown01> 1575 <description> 1576 Basic test for fchown(2). 1577 1578 <\description> 1579 <test_location> 1580 ltp/testcases/kernel/syscalls/fchown/fchown01.c 1581 <\test_location> 1582<\testname> 1583<testname=fchown02> 1584 <description> 1585 Verify that, when fchown(2) invoked by super-user to change the owner and 1586 group of a file specified by file descriptor to any numeric 1587 owner(uid)/group(gid) values, 1588 - clears setuid and setgid bits set on an executable file. 1589 - preserves setgid bit set on a non-group-executable file. 1590 1591 <\description> 1592 <test_location> 1593 ltp/testcases/kernel/syscalls/fchown/fchown02.c 1594 <\test_location> 1595<\testname> 1596<testname=fchown03> 1597 <description> 1598 Verify that, fchown(2) succeeds to change the group of a file specified 1599 by path when called by non-root user with the following constraints, 1600 - euid of the process is equal to the owner of the file. 1601 - the intended gid is either egid, or one of the supplementary gids 1602 of the process. 1603 Also, verify that fchown() clears the setuid/setgid bits set on the file. 1604 1605 <\description> 1606 <test_location> 1607 ltp/testcases/kernel/syscalls/fchown/fchown03.c 1608 <\test_location> 1609<\testname> 1610<testname=fchown04> 1611 <description> 1612 Verify that, 1613 1) fchown(2) returns -1 and sets errno to EPERM if the effective user id 1614 of process does not match the owner of the file and the process is 1615 not super user. 1616 2) fchown(2) returns -1 and sets errno to EBADF if the file descriptor 1617 of the specified file is not valid. 1618 1619 <\description> 1620 <test_location> 1621 ltp/testcases/kernel/syscalls/fchown/fchown04.c 1622 <\test_location> 1623<\testname> 1624<testname=fchown05> 1625 <description> 1626 Verify that, fchown(2) succeeds to change the owner and group of a file 1627 specified by file descriptor to any numeric owner(uid)/group(gid) values 1628 when invoked by super-user. 1629 1630 <\description> 1631 <test_location> 1632 ltp/testcases/kernel/syscalls/fchown/fchown05.c 1633 <\test_location> 1634<\testname> 1635<testname=fcntl01> 1636 <description> 1637 Test F_DUPFD, F_SETFL cmds of fcntl 1638 1639 <\description> 1640 <test_location> 1641 ltp/testcases/kernel/syscalls/fcntl/fcntl01.c 1642 <\test_location> 1643<\testname> 1644<testname=fcntl02> 1645 <description> 1646 Basic test for fcntl(2) using F_DUPFD argument. 1647 1648 <\description> 1649 <test_location> 1650 ltp/testcases/kernel/syscalls/fcntl/fcntl02.c 1651 <\test_location> 1652<\testname> 1653<testname=fcntl03> 1654 <description> 1655 Basic test for fcntl(2) using F_GETFD argument. 1656 1657 <\description> 1658 <test_location> 1659 ltp/testcases/kernel/syscalls/fcntl/fcntl03.c 1660 <\test_location> 1661<\testname> 1662<testname=fcntl04> 1663 <description> 1664 Basic test for fcntl(2) using F_GETFL argument. 1665 1666 <\description> 1667 <test_location> 1668 ltp/testcases/kernel/syscalls/fcntl/fcntl04.c 1669 <\test_location> 1670<\testname> 1671<testname=fcntl05> 1672 <description> 1673 Basic test for fcntl(2) using F_GETLK argument. 1674 1675 <\description> 1676 <test_location> 1677 ltp/testcases/kernel/syscalls/fcntl/fcntl05.c 1678 <\test_location> 1679<\testname> 1680<testname=fcntl06> 1681 <description> 1682 Error checking conditions for remote locking of regions of a file. 1683 1684 <\description> 1685 <test_location> 1686 ltp/testcases/kernel/syscalls/fcntl/fcntl06.c 1687 <\test_location> 1688<\testname> 1689<testname=fcntl07> 1690 <description> 1691 Close-On-Exec functional test. 1692 1693 <\description> 1694 <test_location> 1695 ltp/testcases/kernel/syscalls/fcntl/fcntl07.c 1696 <\test_location> 1697<\testname> 1698<testname=fcntl07B> 1699 <description> 1700 Close-On-Exec of named pipe functional test. 1701 1702 <\description> 1703 <test_location> 1704 ltp/testcases/kernel/syscalls/fcntl/fcntl07B.c 1705 <\test_location> 1706<\testname> 1707<testname=fcntl08> 1708 <description> 1709 Basic test for fcntl(2) using F_SETFL argument. 1710 1711 <\description> 1712 <test_location> 1713 ltp/testcases/kernel/syscalls/fcntl/fcntl08.c 1714 <\test_location> 1715<\testname> 1716<testname=fcntl09> 1717 <description> 1718 Basic test for fcntl(2) using F_SETLK argument. 1719 1720 <\description> 1721 <test_location> 1722 ltp/testcases/kernel/syscalls/fcntl/fcntl09.c 1723 <\test_location> 1724<\testname> 1725<testname=fcntl10> 1726 <description> 1727 Basic test for fcntl(2) using F_SETLKW argument. 1728 1729 <\description> 1730 <test_location> 1731 ltp/testcases/kernel/syscalls/fcntl/fcntl10.c 1732 <\test_location> 1733<\testname> 1734<testname=fcntl11> 1735 <description> 1736 Testcase to check locking of regions of a file 1737 1738 <\description> 1739 <test_location> 1740 ltp/testcases/kernel/syscalls/fcntl/fcntl11.c 1741 <\test_location> 1742<\testname> 1743<testname=fcntl12> 1744 <description> 1745 Testcase to test that fcntl() sets EMFILE for F_DUPFD command. 1746 1747 <\description> 1748 <test_location> 1749 ltp/testcases/kernel/syscalls/fcntl/fcntl12.c 1750 <\test_location> 1751<\testname> 1752<testname=fcntl13> 1753 <description> 1754 Testcase to test that fcntl() sets errno correctly. 1755 1756 <\description> 1757 <test_location> 1758 ltp/testcases/kernel/syscalls/fcntl/fcntl13.c 1759 <\test_location> 1760<\testname> 1761<testname=fcntl14> 1762 <description> 1763 File locking test cases for fcntl. In Linux, S_ENFMT is not implemented 1764 in the kernel. However all standard Unix kernels define S_ENFMT as 1765 S_ISGID. So this test defines S_ENFMT as S_ISGID. 1766 1767 <\description> 1768 <test_location> 1769 ltp/testcases/kernel/syscalls/fcntl/fcntl14.c 1770 <\test_location> 1771<\testname> 1772<testname=fcntl15> 1773 <description> 1774 Check that file locks are removed when file closed 1775 1776 <\description> 1777 <test_location> 1778 ltp/testcases/kernel/syscalls/fcntl/fcntl15.c 1779 <\test_location> 1780<\testname> 1781<testname=fcntl16> 1782 <description> 1783 Additional file locking test cases for checking proper notifictaion 1784 of processes on lock change 1785 1786 <\description> 1787 <test_location> 1788 ltp/testcases/kernel/syscalls/fcntl/fcntl16.c 1789 <\test_location> 1790<\testname> 1791<testname=fcntl17> 1792 <description> 1793 Check deadlock detection for file locking 1794 1795 <\description> 1796 <test_location> 1797 ltp/testcases/kernel/syscalls/fcntl/fcntl17.c 1798 <\test_location> 1799<\testname> 1800<testname=fcntl18> 1801 <description> 1802 Test to check the error conditions in fcntl system call 1803 1804 <\description> 1805 <test_location> 1806 ltp/testcases/kernel/syscalls/fcntl/fcntl18.c 1807 <\test_location> 1808<\testname> 1809<testname=fcntl19> 1810 <description> 1811 Testcase to check locking of regions of a file 1812 1813 <\description> 1814 <test_location> 1815 ltp/testcases/kernel/syscalls/fcntl/fcntl19.c 1816 <\test_location> 1817<\testname> 1818<testname=fcntl20> 1819 <description> 1820 Check locking of regions of a file 1821 1822 <\description> 1823 <test_location> 1824 ltp/testcases/kernel/syscalls/fcntl/fcntl20.c 1825 <\test_location> 1826<\testname> 1827<testname=fcntl21> 1828 <description> 1829 Check locking of regions of a file 1830 1831 <\description> 1832 <test_location> 1833 ltp/testcases/kernel/syscalls/fcntl/fcntl21.c 1834 <\test_location> 1835<\testname> 1836<testname=fdatasync01> 1837 <description> 1838 Basic test for fdatasync(2). 1839 1840 <\description> 1841 <test_location> 1842 ltp/testcases/kernel/syscalls/fdatasync/fdatasync01.c 1843 <\test_location> 1844<\testname> 1845<testname=fdatasync02> 1846 <description> 1847 Checking error conditions for fdatasync(2). 1848 1849 <\description> 1850 <test_location> 1851 ltp/testcases/kernel/syscalls/fdatasync/fdatasync02.c 1852 <\test_location> 1853<\testname> 1854<testname=flock01> 1855 <description> 1856 Basic test for flock(2) 1857 1858 <\description> 1859 <test_location> 1860 ltp/testcases/kernel/syscalls/flock/flock01.c 1861 <\test_location> 1862<\testname> 1863<testname=flock02> 1864 <description> 1865 Error condition test for flock(2) 1866 1867 <\description> 1868 <test_location> 1869 ltp/testcases/kernel/syscalls/flock/flock02.c 1870 <\test_location> 1871<\testname> 1872<testname=flock03> 1873 <description> 1874 Error condition test for flock(2) 1875 1876 <\description> 1877 <test_location> 1878 ltp/testcases/kernel/syscalls/flock/flock03.c 1879 <\test_location> 1880<\testname> 1881<testname=flock04> 1882 <description> 1883 Testing different locks on flock(2) 1884 1885 <\description> 1886 <test_location> 1887 ltp/testcases/kernel/syscalls/flock/flock04.c 1888 <\test_location> 1889<\testname> 1890<testname=flock05> 1891 <description> 1892 Testing different locks on flock(2) 1893 1894 <\description> 1895 <test_location> 1896 ltp/testcases/kernel/syscalls/flock/flock05.c 1897 <\test_location> 1898<\testname> 1899<testname=flock06> 1900 <description> 1901 Error condition test for flock(2) 1902 1903 <\description> 1904 <test_location> 1905 ltp/testcases/kernel/syscalls/flock/flock06.c 1906 <\test_location> 1907<\testname> 1908<testname=fmtmsg01> 1909 <description> 1910 Basic test of fmtmsg(). 1911 1912 <\description> 1913 <test_location> 1914 ltp/testcases/kernel/syscalls/fmtmsg/fmtmsg01.c 1915 <\test_location> 1916<\testname> 1917<testname=fork01> 1918 <description> 1919 Basic test for fork(2). 1920 1921 <\description> 1922 <test_location> 1923 ltp/testcases/kernel/syscalls/fork/fork01.c 1924 <\test_location> 1925<\testname> 1926<testname=fork02> 1927 <description> 1928 Test correct operation of fork: 1929 pid == 0 in child; 1930 pid > 0 in parent from wait; 1931 1932 <\description> 1933 <test_location> 1934 ltp/testcases/kernel/syscalls/fork/fork02.c 1935 <\test_location> 1936<\testname> 1937<testname=fork03> 1938 <description> 1939 Check that child can use a large text space and do a large 1940 number of operations. 1941 1942 <\description> 1943 <test_location> 1944 ltp/testcases/kernel/syscalls/fork/fork03.c 1945 <\test_location> 1946<\testname> 1947<testname=fork04> 1948 <description> 1949 Child inheritance of Environment Variables after fork(). 1950 1951 <\description> 1952 <test_location> 1953 ltp/testcases/kernel/syscalls/fork/fork04.c 1954 <\test_location> 1955<\testname> 1956<testname=fork05> 1957 <description> 1958 Make sure LDT is propagated correctly 1959 1960 <\description> 1961 <test_location> 1962 ltp/testcases/kernel/syscalls/fork/fork05.c 1963 <\test_location> 1964<\testname> 1965<testname=fork06> 1966 <description> 1967 Test that a process can fork children a large number of 1968 times in succession 1969 1970 <\description> 1971 <test_location> 1972 ltp/testcases/kernel/syscalls/fork/fork06.c 1973 <\test_location> 1974<\testname> 1975<testname=fork07> 1976 <description> 1977 Check that all children inherit parent's file descriptor 1978 1979 <\description> 1980 <test_location> 1981 ltp/testcases/kernel/syscalls/fork/fork07.c 1982 <\test_location> 1983<\testname> 1984<testname=fork08> 1985 <description> 1986 Check if the parent's file descriptors are affected by 1987 actions in the child; they should not be. 1988 1989 <\description> 1990 <test_location> 1991 ltp/testcases/kernel/syscalls/fork/fork08.c 1992 <\test_location> 1993<\testname> 1994<testname=fork09> 1995 <description> 1996 Check that child has access to a full set of files. 1997 1998 <\description> 1999 <test_location> 2000 ltp/testcases/kernel/syscalls/fork/fork09.c 2001 <\test_location> 2002<\testname> 2003<testname=fork10> 2004 <description> 2005 Check inheritance of file descriptor by children, they 2006 should all be refering to the same file. 2007 2008 <\description> 2009 <test_location> 2010 ltp/testcases/kernel/syscalls/fork/fork10.c 2011 <\test_location> 2012<\testname> 2013<testname=fork11> 2014 <description> 2015 Test that parent gets a pid from each child when doing wait 2016 2017 <\description> 2018 <test_location> 2019 ltp/testcases/kernel/syscalls/fork/fork11.c 2020 <\test_location> 2021<\testname> 2022<testname=fork12> 2023 <description> 2024 Check that all children inherit parent's file descriptor 2025 2026 <\description> 2027 <test_location> 2028 ltp/testcases/kernel/syscalls/fork/fork12.c 2029 <\test_location> 2030<\testname> 2031<testname=fpathconf> 2032 <description> 2033 Basic test for fpathconf(2) 2034 2035 <\description> 2036 <test_location> 2037 ltp/testcases/kernel/syscalls/fpathconf 2038 <\test_location> 2039<\testname> 2040<testname=fstat01> 2041 <description> 2042 Basic test for fstat(2) 2043 2044 <\description> 2045 <test_location> 2046 ltp/testcases/kernel/syscalls/fstat/fstat01.c 2047 <\test_location> 2048<\testname> 2049<testname=fstat02> 2050 <description> 2051 Verify that, fstat(2) succeeds to get the status of a file and fills 2052 the stat structure elements though file pointed to by file descriptor 2053 not opened for reading. 2054 2055 <\description> 2056 <test_location> 2057 ltp/testcases/kernel/syscalls/fstat/fstat02.c 2058 <\test_location> 2059<\testname> 2060<testname=fstat03> 2061 <description> 2062 Verify that, fstat(2) returns -1 and sets errno to EBADF if the file 2063 pointed to by file descriptor is not valid. 2064 2065 <\description> 2066 <test_location> 2067 ltp/testcases/kernel/syscalls/fstat/fstat03.c 2068 <\test_location> 2069<\testname> 2070<testname=fstat05> 2071 <description> 2072 Verify that, if buffer points outside user's accessible address space 2073 fstat(2) either returns -1 and sets errno to EFAULT or 2074 SIGSEGV is returned instead of EFAULT. 2075 2076 <\description> 2077 <test_location> 2078 ltp/testcases/kernel/syscalls/fstat/fstat05.c 2079 <\test_location> 2080<\testname> 2081<testname=fstatfs01> 2082 <description> 2083 Basic test for fstatfs(2) 2084 2085 <\description> 2086 <test_location> 2087 ltp/testcases/kernel/syscalls/fstatfs/fstatfs01.c 2088 <\test_location> 2089<\testname> 2090<testname=fstatfs02> 2091 <description> 2092 Testcase to check fstatfs() sets errno correctly. 2093 2094 <\description> 2095 <test_location> 2096 ltp/testcases/kernel/syscalls/fstatfs/fstatfs02.c 2097 <\test_location> 2098<\testname> 2099<testname=fsync01> 2100 <description> 2101 Basic test for fsync(2) 2102 2103 <\description> 2104 <test_location> 2105 ltp/testcases/kernel/syscalls/fsync/fsync01.c 2106 <\test_location> 2107<\testname> 2108<testname=fsync02> 2109 <description> 2110 Create a sparse file, fsync it, and time the fsync 2111 2112 <\description> 2113 <test_location> 2114 ltp/testcases/kernel/syscalls/fsync/fsync02.c 2115 <\test_location> 2116<\testname> 2117<testname=fsync03> 2118 <description> 2119 Testcase to check that fsync(2) sets errno correctly. 2120 2121 <\description> 2122 <test_location> 2123 ltp/testcases/kernel/syscalls/fsync/fsync03.c 2124 <\test_location> 2125<\testname> 2126<testname=ftruncate01> 2127 <description> 2128 Verify that, ftruncate(2) succeeds to truncate a file to a specified 2129 length if the file indicated by file descriptor opened for writing. 2130 2131 <\description> 2132 <test_location> 2133 ltp/testcases/kernel/syscalls/ftruncate/ftruncate01.c 2134 <\test_location> 2135<\testname> 2136<testname=ftruncate02> 2137 <description> 2138 Verify that, ftruncate(2) succeeds to truncate a file to a certain length, 2139 but the attempt to read past the truncated length will fail. 2140 2141 <\description> 2142 <test_location> 2143 ltp/testcases/kernel/syscalls/ftruncate/ftruncate02.c 2144 <\test_location> 2145<\testname> 2146<testname=ftruncate03> 2147 <description> 2148 Verify that, 2149 1) ftruncate(2) returns -1 and sets errno to EINVAL if the specified 2150 truncate length is less than 0. 2151 2) ftruncate(2) returns -1 and sets errno to EBADF if the file descriptor 2152 of the specified file is not valid. 2153 2154 <\description> 2155 <test_location> 2156 ltp/testcases/kernel/syscalls/ftruncate/ftruncate03.c 2157 <\test_location> 2158<\testname> 2159<testname=ftruncate04> 2160 <description> 2161 Test ftruncate/truncate and mandatory record locking. 2162 2163 <\description> 2164 <test_location> 2165 ltp/testcases/kernel/syscalls/ftruncate/ftruncate04.c 2166 <\test_location> 2167<\testname> 2168<testname=getcwd01> 2169 <description> 2170 Testcase to test that getcwd(2) sets errno correctly. 2171 2172 <\description> 2173 <test_location> 2174 ltp/testcases/kernel/syscalls/getcwd/getcwd01.c 2175 <\test_location> 2176<\testname> 2177<testname=getcwd02> 2178 <description> 2179 Testcase to check the basic functionality of the getcwd(2) system call. 2180 2181 <\description> 2182 <test_location> 2183 ltp/testcases/kernel/syscalls/getcwd/getcwd02.c 2184 <\test_location> 2185<\testname> 2186<testname=getcwd03> 2187 <description> 2188 Testcase to check the basic functionality of the getcwd(2) system call 2189 for symbolically linked directories. 2190 2191 <\description> 2192 <test_location> 2193 ltp/testcases/kernel/syscalls/getcwd/getcwd03.c 2194 <\test_location> 2195<\testname> 2196<testname=getdents01> 2197 <description> 2198 get a directory entry 2199 2200 <\description> 2201 <test_location> 2202 ltp/testcases/kernel/syscalls/getdents/getdents01.c 2203 <\test_location> 2204<\testname> 2205<testname=getdents02> 2206 <description> 2207 check that we get a failure with a bad file descriptor 2208 2209 <\description> 2210 <test_location> 2211 ltp/testcases/kernel/syscalls/getdents/getdents02.c 2212 <\test_location> 2213<\testname> 2214<testname=getdents03> 2215 <description> 2216 check for an EINVAL error 2217 2218 <\description> 2219 <test_location> 2220 ltp/testcases/kernel/syscalls/getdents/getdents03.c 2221 <\test_location> 2222<\testname> 2223<testname=getdents04> 2224 <description> 2225 check for an ENOTDIR error 2226 2227 <\description> 2228 <test_location> 2229 ltp/testcases/kernel/syscalls/getdents/getdents04.c 2230 <\test_location> 2231<\testname> 2232<testname=getdents05> 2233 <description> 2234 check that we get a failure with a bad dirp address. 2235 2236 <\description> 2237 <test_location> 2238 <\test_location> 2239<\testname> 2240<testname=getdomainname01> 2241 <description> 2242 Basic test for getdomainname(). 2243 2244 <\description> 2245 <test_location> 2246 ltp/testcases/kernel/syscalls/getdomainname/getdomainname01.c 2247 <\test_location> 2248<\testname> 2249<testname=getegid01> 2250 <description> 2251 Basic test for getegid(2) 2252 2253 <\description> 2254 <test_location> 2255 ltp/testcases/kernel/syscalls/getegid/getegid01.c 2256 <\test_location> 2257<\testname> 2258<testname=geteuid01> 2259 <description> 2260 Basic test for geteuid(2) 2261 2262 <\description> 2263 <test_location> 2264 ltp/testcases/kernel/syscalls/geteuid/geteuid01.c 2265 <\test_location> 2266<\testname> 2267<testname=getgid01> 2268 <description> 2269 Basic test for getgid(2) 2270 2271 <\description> 2272 <test_location> 2273 ltp/testcases/kernel/syscalls/getgid/getgid01.c 2274 <\test_location> 2275<\testname> 2276<testname=getgid02> 2277 <description> 2278 Testcase to check the basic functionality of getgid(). 2279 2280 <\description> 2281 <test_location> 2282 <\test_location> 2283<\testname> 2284<testname=getgid03> 2285 <description> 2286 Testcase to check the basic functionality of getegid(). 2287 2288 <\description> 2289 <test_location> 2290 ltp/testcases/kernel/syscalls/getgid/getgid03.c 2291 <\test_location> 2292<\testname> 2293<testname=getgroups01> 2294 <description> 2295 Getgroups system call critical test 2296 2297 <\description> 2298 <test_location> 2299 ltp/testcases/kernel/syscalls/getgroups/getgroups01.c 2300 <\test_location> 2301<\testname> 2302<testname=getgroups02> 2303 <description> 2304 Basic test for getgroups(2) 2305 2306 <\description> 2307 <test_location> 2308 ltp/testcases/kernel/syscalls/getgroups/getgroups02.c 2309 <\test_location> 2310<\testname> 2311<testname=getgroups03> 2312 <description> 2313 Verify that, getgroups() system call gets the supplementary group IDs 2314 of the calling process. 2315 2316 <\description> 2317 <test_location> 2318 ltp/testcases/kernel/syscalls/getgroups/getgroups03.c 2319 <\test_location> 2320<\testname> 2321<testname=getgroups04> 2322 <description> 2323 Verify that, 2324 getgroups() fails with -1 and sets errno to EINVAL if the size 2325 argument value is -ve. 2326 2327 <\description> 2328 <test_location> 2329 ltp/testcases/kernel/syscalls/getgroups/getgroups04.c 2330 <\test_location> 2331<\testname> 2332<testname=gethostid01> 2333 <description> 2334 Basic test for gethostid(2) 2335 2336 <\description> 2337 <test_location> 2338 ltp/testcases/kernel/syscalls/gethostid/gethostid01.c 2339 <\test_location> 2340<\testname> 2341<testname=gethostname01> 2342 <description> 2343 Basic test for gethostname(2) 2344 2345 <\description> 2346 <test_location> 2347 ltp/testcases/kernel/syscalls/gethostname/gethostname01.c 2348 <\test_location> 2349<\testname> 2350<testname=getitimer01> 2351 <description> 2352 Check that a correct call to getitimer() succeeds 2353 2354 <\description> 2355 <test_location> 2356 ltp/testcases/kernel/syscalls/getitimer/getitimer01.c 2357 <\test_location> 2358<\testname> 2359<testname=getitimer02> 2360 <description> 2361 Check that a getitimer() call fails as expected 2362 with an incorrect second argument. 2363 getitimer03 2364 2365 Check that a getitimer() call fails as expected 2366 with an incorrect first argument. 2367 2368 <\description> 2369 <test_location> 2370 ltp/testcases/kernel/syscalls/getitimer/getitimer02.c 2371 <\test_location> 2372<\testname> 2373<testname=getpeername01> 2374 <description> 2375 Verify that getpeername() returns the proper errno for various failure cases 2376 2377 <\description> 2378 <test_location> 2379 ltp/testcases/kernel/syscalls/getpeername/getpeername01.c 2380 <\test_location> 2381<\testname> 2382<testname=getpgid01> 2383 <description> 2384 Testcase to check the basic functionality of getpgid(). 2385 2386 <\description> 2387 <test_location> 2388 ltp/testcases/kernel/syscalls/getpgid/getpgid01.c 2389 <\test_location> 2390<\testname> 2391<testname=getpgid02> 2392 <description> 2393 Testcase to check the basic functionality of getpgid(). 2394 2395 <\description> 2396 <test_location> 2397 ltp/testcases/kernel/syscalls/getpgid/getpgid02.c 2398 <\test_location> 2399<\testname> 2400<testname=getpgrp01> 2401 <description> 2402 Basic test for getpgrp(2) 2403 2404 <\description> 2405 <test_location> 2406 ltp/testcases/kernel/syscalls/getpgrp/getpgrp01.c 2407 <\test_location> 2408<\testname> 2409<testname=getpid01> 2410 <description> 2411 Basic test for getpid(2) 2412 2413 <\description> 2414 <test_location> 2415 ltp/testcases/kernel/syscalls/getpid/getpid01.c 2416 <\test_location> 2417<\testname> 2418<testname=getpid02> 2419 <description> 2420 Verify that getpid() system call gets the process ID of the of the 2421 calling process. 2422 2423 <\description> 2424 <test_location> 2425 ltp/testcases/kernel/syscalls/getpid/getpid02.c 2426 <\test_location> 2427<\testname> 2428<testname=getppid01> 2429 <description> 2430 Testcase to check the basic functionality of the getppid() syscall. 2431 2432 <\description> 2433 <test_location> 2434 ltp/testcases/kernel/syscalls/getppid/getppid01.c 2435 <\test_location> 2436<\testname> 2437<testname=getpriority01> 2438 <description> 2439 Verify that getpriority() succeeds get the scheduling priority of 2440 the current process, process group or user. 2441 2442 <\description> 2443 <test_location> 2444 ltp/testcases/kernel/syscalls/getpriority/getpriority01.c 2445 <\test_location> 2446<\testname> 2447<testname=getpriority02> 2448 <description> 2449 Verify that, 2450 1) getpriority() sets errno to ESRCH if no process was located 2451 was located for 'which' and 'who' arguments. 2452 2) getpriority() sets errno to EINVAL if 'which' argument was 2453 not one of PRIO_PROCESS, PRIO_PGRP, or PRIO_USER. 2454 2455 <\description> 2456 <test_location> 2457 ltp/testcases/kernel/syscalls/getpriority/getpriority02.c 2458 <\test_location> 2459<\testname> 2460<testname=getresgid01> 2461 <description> 2462 Verify that getresgid() will be successful to get the real, effective 2463 and saved user id of the calling process. 2464 2465 <\description> 2466 <test_location> 2467 ltp/testcases/kernel/syscalls/getresgid/getresgid01.c 2468 <\test_location> 2469<\testname> 2470<testname=getresgid02> 2471 <description> 2472 Verify that getresgid() will be successful to get the real, effective 2473 and saved user ids after calling process invokes setregid() to change 2474 the effective/saved gids to that of specified user. 2475 2476 <\description> 2477 <test_location> 2478 ltp/testcases/kernel/syscalls/getresgid/getresgid02.c 2479 <\test_location> 2480<\testname> 2481<testname=getresgid03> 2482 <description> 2483 Verify that getresgid() will be successful to get the real, effective 2484 and saved user ids after calling process invokes setresgid() to change 2485 the effective gid to that of specified user. 2486 2487 <\description> 2488 <test_location> 2489 ltp/testcases/kernel/syscalls/getresgid/getresgid03.c 2490 <\test_location> 2491<\testname> 2492<testname=getresuid01> 2493 <description> 2494 Verify that getresuid() will be successful to get the real, effective 2495 and saved user id of the calling process. 2496 2497 <\description> 2498 <test_location> 2499 ltp/testcases/kernel/syscalls/getresuid/getresuid01.c 2500 <\test_location> 2501<\testname> 2502<testname=getresuid02> 2503 <description> 2504 Verify that getresuid() will be successful to get the real, effective 2505 and saved user ids after calling process invokes setreuid() to change 2506 the effective/saved uids to that of specified user. 2507 2508 <\description> 2509 <test_location> 2510 ltp/testcases/kernel/syscalls/getresuid/getresuid02.c 2511 <\test_location> 2512<\testname> 2513<testname=getresuid03> 2514 <description> 2515 Verify that getresuid() will be successful to get the real, effective 2516 and saved user ids after calling process invokes setresuid() to change 2517 the effective uid to that of specified user. 2518 2519 <\description> 2520 <test_location> 2521 ltp/testcases/kernel/syscalls/getresuid/getresuid03.c 2522 <\test_location> 2523<\testname> 2524<testname=getsid01> 2525 <description> 2526 call getsid() and make sure it succeeds 2527 2528 <\description> 2529 <test_location> 2530 ltp/testcases/kernel/syscalls/getsid/getsid01.c 2531 <\test_location> 2532<\testname> 2533<testname=getsid02> 2534 <description> 2535 call getsid() with an invalid PID to produce a failure 2536 2537 <\description> 2538 <test_location> 2539 ltp/testcases/kernel/syscalls/getsid/getsid02.c 2540 <\test_location> 2541<\testname> 2542<testname=getsockname01> 2543 <description> 2544 Verify that getsockname() returns the proper errno for various failure cases 2545 2546 <\description> 2547 <test_location> 2548 ltp/testcases/kernel/syscalls/getsockname/getsockname01.c 2549 <\test_location> 2550<\testname> 2551<testname=getsockopt01> 2552 <description> 2553 Verify that getsockopt() returns the proper errno for various failure cases 2554 2555 <\description> 2556 <test_location> 2557 ltp/testcases/kernel/syscalls/getsockopt/getsockopt01.c 2558 <\test_location> 2559<\testname> 2560<testname=gettimeofday01> 2561 <description> 2562 Testcase to check that gettimeofday(2) sets errno to EFAULT. 2563 2564 <\description> 2565 <test_location> 2566 ltp/testcases/kernel/syscalls/gettimeofday/gettimeofday01.c 2567 <\test_location> 2568<\testname> 2569<testname=gettimeofday02> 2570 <description> 2571 Testcase to check if gettimeofday is monotonous. 2572 2573 <\description> 2574 <test_location> 2575 ltp/testcases/kernel/syscalls/gettimeofday/gettimeofday02.c 2576 <\test_location> 2577<\testname> 2578<testname=getuid01> 2579 <description> 2580 Basic test for getuid(2) 2581 2582 <\description> 2583 <test_location> 2584 ltp/testcases/kernel/syscalls/getuid/getuid01.c 2585 <\test_location> 2586<\testname> 2587<testname=getuid02> 2588 <description> 2589 Testcase to check the basic functionality of the geteuid() system call. 2590 2591 <\description> 2592 <test_location> 2593 ltp/testcases/kernel/syscalls/getuid/getuid02.c 2594 <\test_location> 2595<\testname> 2596<testname=getuid03> 2597 <description> 2598 Testcase to check the basic functionality of the getuid() system call. 2599 2600 <\description> 2601 <test_location> 2602 ltp/testcases/kernel/syscalls/getuid/getuid03.c 2603 <\test_location> 2604<\testname> 2605<testname=ioctl01> 2606 <description> 2607 Testcase to check the errnos set by the ioctl(2) system call. 2608 2609 <\description> 2610 <test_location> 2611 ltp/testcases/kernel/syscalls/ioctl/ioctl01.c 2612 <\test_location> 2613<\testname> 2614<testname=ioctl02> 2615 <description> 2616 Testcase to test the TCGETA, and TCSETA ioctl implementations for 2617 the tty driver 2618 2619 <\description> 2620 <test_location> 2621 ltp/testcases/kernel/syscalls/ioctl/ioctl02.c 2622 <\test_location> 2623<\testname> 2624<testname=ioperm01> 2625 <description> 2626 Basic test for ioperm(). 2627 2628 <\description> 2629 <test_location> 2630 ltp/testcases/kernel/syscalls/ioperm/ioperm01.c 2631 <\test_location> 2632<\testname> 2633<testname=ioperm02> 2634 <description> 2635 Test for error conditions. 2636 2637 <\description> 2638 <test_location> 2639 ltp/testcases/kernel/syscalls/ioperm/ioperm02.c 2640 <\test_location> 2641<\testname> 2642<testname=iopl01> 2643 <description> 2644 Basic test for iopl(). 2645 2646 <\description> 2647 <test_location> 2648 ltp/testcases/kernel/syscalls/iopl/iopl01.c 2649 <\test_location> 2650<\testname> 2651<testname=iopl02> 2652 <description> 2653 Test for error conditions. 2654 2655 <\description> 2656 <test_location> 2657 ltp/testcases/kernel/syscalls/iopl/iopl02.c 2658 <\test_location> 2659<\testname> 2660<testname=msgctl01> 2661 <description> 2662 create a message queue, then issue the IPC_STAT command 2663 and RMID commands to test the functionality 2664 2665 <\description> 2666 <test_location> 2667 ltp/testcases/kernel/syscalls/ipc/msgctl/msgctl01.c 2668 <\test_location> 2669<\testname> 2670<testname=msgctl02> 2671 <description> 2672 create a message queue, then issue the IPC_SET command 2673 to lower the msg_qbytes value. 2674 2675 <\description> 2676 <test_location> 2677 ltp/testcases/kernel/syscalls/ipc/msgctl/msgctl02.c 2678 <\test_location> 2679<\testname> 2680<testname=msgctl03> 2681 <description> 2682 create a message queue, then issue the IPC_RMID command 2683 2684 <\description> 2685 <test_location> 2686 ltp/testcases/kernel/syscalls/ipc/msgctl/msgctl03.c 2687 <\test_location> 2688<\testname> 2689<testname=msgctl04> 2690 <description> 2691 test for EACCES, EFAULT and EINVAL errors using 2692 a variety of incorrect calls. 2693 2694 <\description> 2695 <test_location> 2696 ltp/testcases/kernel/syscalls/ipc/msgctl/msgctl04.c 2697 <\test_location> 2698<\testname> 2699<testname=msgctl05> 2700 <description> 2701 test for EPERM error 2702 2703 <\description> 2704 <test_location> 2705 ltp/testcases/kernel/syscalls/ipc/msgctl/msgctl05.c 2706 <\test_location> 2707<\testname> 2708<testname=msgget01> 2709 <description> 2710 create a message queue, write a message to it and 2711 read it back. 2712 2713 <\description> 2714 <test_location> 2715 ltp/testcases/kernel/syscalls/ipc/msgget/msgget01.c 2716 <\test_location> 2717<\testname> 2718<testname=msgget02> 2719 <description> 2720 test for EEXIST and ENOENT errors 2721 2722 <\description> 2723 <test_location> 2724 ltp/testcases/kernel/syscalls/ipc/msgget/msgget02.c 2725 <\test_location> 2726<\testname> 2727<testname=msgget03> 2728 <description> 2729 test for an ENOSPC error by using up all available 2730 message queues. 2731 2732 <\description> 2733 <test_location> 2734 ltp/testcases/kernel/syscalls/ipc/msgget/msgget03.c 2735 <\test_location> 2736<\testname> 2737<testname=msgget04> 2738 <description> 2739 test for an EACCES error by creating a message queue 2740 with no read or write permission and then attempting 2741 to access it with various permissions. 2742 2743 <\description> 2744 <test_location> 2745 ltp/testcases/kernel/syscalls/ipc/msgget/msgget04.c 2746 <\test_location> 2747<\testname> 2748<testname=msgrcv01> 2749 <description> 2750 test that msgrcv() receives the expected message 2751 2752 <\description> 2753 <test_location> 2754 ltp/testcases/kernel/syscalls/ipc/msgrcv/msgrcv01.c 2755 <\test_location> 2756<\testname> 2757<testname=msgrcv02> 2758 <description> 2759 test for EACCES and EFAULT errors 2760 2761 <\description> 2762 <test_location> 2763 ltp/testcases/kernel/syscalls/ipc/msgrcv/msgrcv02.c 2764 <\test_location> 2765<\testname> 2766<testname=msgrcv03> 2767 <description> 2768 test for EINVAL error 2769 2770 <\description> 2771 <test_location> 2772 ltp/testcases/kernel/syscalls/ipc/msgrcv/msgrcv03.c 2773 <\test_location> 2774<\testname> 2775<testname=msgrcv04> 2776 <description> 2777 test for E2BIG and ENOMSG errors 2778 2779 <\description> 2780 <test_location> 2781 ltp/testcases/kernel/syscalls/ipc/msgrcv/msgrcv04.c 2782 <\test_location> 2783<\testname> 2784<testname=msgrcv05> 2785 <description> 2786 test for EINTR error 2787 2788 <\description> 2789 <test_location> 2790 ltp/testcases/kernel/syscalls/ipc/msgrcv/msgrcv05.c 2791 <\test_location> 2792<\testname> 2793<testname=msgrcv06> 2794 <description> 2795 test for EIDRM error 2796 2797 <\description> 2798 <test_location> 2799 ltp/testcases/kernel/syscalls/ipc/msgrcv/msgrcv06.c 2800 <\test_location> 2801<\testname> 2802<testname=msgsnd01> 2803 <description> 2804 test that msgsnd() enqueues a message correctly 2805 2806 <\description> 2807 <test_location> 2808 ltp/testcases/kernel/syscalls/ipc/msgsnd/msgsnd01.c 2809 <\test_location> 2810<\testname> 2811<testname=msgsnd02> 2812 <description> 2813 test for EACCES and EFAULT errors 2814 2815 <\description> 2816 <test_location> 2817 ltp/testcases/kernel/syscalls/ipc/msgsnd/msgsnd02.c 2818 <\test_location> 2819<\testname> 2820<testname=msgsnd03> 2821 <description> 2822 test for EINVAL error 2823 2824 <\description> 2825 <test_location> 2826 ltp/testcases/kernel/syscalls/ipc/msgsnd/msgsnd03.c 2827 <\test_location> 2828<\testname> 2829<testname=msgsnd04> 2830 <description> 2831 test for EAGAIN error 2832 2833 <\description> 2834 <test_location> 2835 ltp/testcases/kernel/syscalls/ipc/msgsnd/msgsnd04.c 2836 <\test_location> 2837<\testname> 2838<testname=msgsnd05> 2839 <description> 2840 test for EINTR error 2841 2842 <\description> 2843 <test_location> 2844 ltp/testcases/kernel/syscalls/ipc/msgsnd/msgsnd05.c 2845 <\test_location> 2846<\testname> 2847<testname=msgsnd06> 2848 <description> 2849 test for EIDRM error 2850 2851 <\description> 2852 <test_location> 2853 ltp/testcases/kernel/syscalls/ipc/msgsnd/msgsnd06.c 2854 <\test_location> 2855<\testname> 2856<testname=semctl01> 2857 <description> 2858 test the 10 possible semctl() commands 2859 2860 <\description> 2861 <test_location> 2862 ltp/testcases/kernel/syscalls/ipc/semctl/semctl01.c 2863 <\test_location> 2864<\testname> 2865<testname=semctl02> 2866 <description> 2867 test for EACCES error 2868 2869 <\description> 2870 <test_location> 2871 ltp/testcases/kernel/syscalls/ipc/semctl/semctl02.c 2872 <\test_location> 2873<\testname> 2874<testname=semctl03> 2875 <description> 2876 test for EINVAL and EFAULT errors 2877 2878 <\description> 2879 <test_location> 2880 ltp/testcases/kernel/syscalls/ipc/semctl/semctl03.c 2881 <\test_location> 2882<\testname> 2883<testname=semctl04> 2884 <description> 2885 test for EPERM error 2886 2887 <\description> 2888 <test_location> 2889 ltp/testcases/kernel/syscalls/ipc/semctl/semctl04.c 2890 <\test_location> 2891<\testname> 2892<testname=semctl05> 2893 <description> 2894 test for ERANGE error 2895 2896 <\description> 2897 <test_location> 2898 ltp/testcases/kernel/syscalls/ipc/semctl/semctl05.c 2899 <\test_location> 2900<\testname> 2901<testname=semget01> 2902 <description> 2903 test that semget() correclty creates a semaphore set 2904 2905 <\description> 2906 <test_location> 2907 ltp/testcases/kernel/syscalls/ipc/semget/semget01.c 2908 <\test_location> 2909<\testname> 2910<testname=semget02> 2911 <description> 2912 test for EACCES and EEXIST errors 2913 2914 <\description> 2915 <test_location> 2916 ltp/testcases/kernel/syscalls/ipc/semget/semget02.c 2917 <\test_location> 2918<\testname> 2919<testname=semget03> 2920 <description> 2921 test for ENOENT error 2922 2923 <\description> 2924 <test_location> 2925 ltp/testcases/kernel/syscalls/ipc/semget/semget03.c 2926 <\test_location> 2927<\testname> 2928<testname=semget05> 2929 <description> 2930 test for ENOSPC error 2931 2932 <\description> 2933 <test_location> 2934 ltp/testcases/kernel/syscalls/ipc/semget/semget05.c 2935 <\test_location> 2936<\testname> 2937<testname=semget06> 2938 <description> 2939 test for EINVAL error 2940 2941 <\description> 2942 <test_location> 2943 ltp/testcases/kernel/syscalls/ipc/semget/semget06.c 2944 <\test_location> 2945<\testname> 2946<testname=semop01> 2947 <description> 2948 test that semop() basic functionality is correct 2949 2950 <\description> 2951 <test_location> 2952 ltp/testcases/kernel/syscalls/ipc/semop/semop01.c 2953 <\test_location> 2954<\testname> 2955<testname=semop02> 2956 <description> 2957 test for E2BIG, EACCES, EFAULT and EINVAL errors 2958 2959 <\description> 2960 <test_location> 2961 ltp/testcases/kernel/syscalls/ipc/semop/semop02.c 2962 <\test_location> 2963<\testname> 2964<testname=semop03> 2965 <description> 2966 test for EFBIG error 2967 2968 <\description> 2969 <test_location> 2970 ltp/testcases/kernel/syscalls/ipc/semop/semop03.c 2971 <\test_location> 2972<\testname> 2973<testname=semop04> 2974 <description> 2975 test for EAGAIN error 2976 2977 <\description> 2978 <test_location> 2979 ltp/testcases/kernel/syscalls/ipc/semop/semop04.c 2980 <\test_location> 2981<\testname> 2982<testname=semop05> 2983 <description> 2984 test for EINTR and EIDRM errors 2985 2986 <\description> 2987 <test_location> 2988 ltp/testcases/kernel/syscalls/ipc/semop/semop05.c 2989 <\test_location> 2990<\testname> 2991<testname=shmat01> 2992 <description> 2993 test that shmat() works correctly 2994 2995 <\description> 2996 <test_location> 2997 ltp/testcases/kernel/syscalls/ipc/shmat/shmat01.c 2998 <\test_location> 2999<\testname> 3000<testname=shmat02> 3001 <description> 3002 check for EINVAL and EACCES errors 3003 3004 <\description> 3005 <test_location> 3006 ltp/testcases/kernel/syscalls/ipc/shmat/shmat02.c 3007 <\test_location> 3008<\testname> 3009<testname=shmat03> 3010 <description> 3011 test for EACCES error 3012 3013 <\description> 3014 <test_location> 3015 ltp/testcases/kernel/syscalls/ipc/shmat/shmat03.c 3016 <\test_location> 3017<\testname> 3018<testname=shmctl01> 3019 <description> 3020 test the IPC_STAT, IPC_SET and IPC_RMID commands as 3021 they are used with shmctl() 3022 3023 <\description> 3024 <test_location> 3025 ltp/testcases/kernel/syscalls/ipc/shmctl/shmctl01.c 3026 <\test_location> 3027<\testname> 3028<testname=shmctl02> 3029 <description> 3030 check for EACCES, EFAULT and EINVAL errors 3031 3032 <\description> 3033 <test_location> 3034 ltp/testcases/kernel/syscalls/ipc/shmctl/shmctl02.c 3035 <\test_location> 3036<\testname> 3037<testname=shmctl03> 3038 <description> 3039 check for EACCES, and EPERM errors 3040 3041 <\description> 3042 <test_location> 3043 ltp/testcases/kernel/syscalls/ipc/shmctl/shmctl03.c 3044 <\test_location> 3045<\testname> 3046<testname=shmdt01> 3047 <description> 3048 check that shared memory is detached correctly 3049 3050 <\description> 3051 <test_location> 3052 ltp/testcases/kernel/syscalls/ipc/shmdt/shmdt01.c 3053 <\test_location> 3054<\testname> 3055<testname=shmdt02> 3056 <description> 3057 check for EINVAL error 3058 3059 <\description> 3060 <test_location> 3061 ltp/testcases/kernel/syscalls/ipc/shmdt/shmdt02.c 3062 <\test_location> 3063<\testname> 3064<testname=shmget01> 3065 <description> 3066 test that shmget() correctly creates a shared memory segment 3067 3068 <\description> 3069 <test_location> 3070 ltp/testcases/kernel/syscalls/ipc/shmget/shmget01.c 3071 <\test_location> 3072<\testname> 3073<testname=shmget02> 3074 <description> 3075 check for ENOENT, EEXIST and EINVAL errors 3076 3077 <\description> 3078 <test_location> 3079 ltp/testcases/kernel/syscalls/ipc/shmget/shmget02.c 3080 <\test_location> 3081<\testname> 3082<testname=shmget03> 3083 <description> 3084 test for ENOSPC error 3085 3086 <\description> 3087 <test_location> 3088 ltp/testcases/kernel/syscalls/ipc/shmget/shmget03.c 3089 <\test_location> 3090<\testname> 3091<testname=shmget04> 3092 <description> 3093 test for EACCES error 3094 3095 <\description> 3096 <test_location> 3097 ltp/testcases/kernel/syscalls/ipc/shmget/shmget04.c 3098 <\test_location> 3099<\testname> 3100<testname=shmget05> 3101 <description> 3102 test for EACCES error 3103 3104 <\description> 3105 <test_location> 3106 ltp/testcases/kernel/syscalls/ipc/shmget/shmget05.c 3107 <\test_location> 3108<\testname> 3109<testname=kill01> 3110 <description> 3111 Test case to check the basic functionality of kill(). 3112 3113 <\description> 3114 <test_location> 3115 ltp/testcases/kernel/syscalls/kill/kill01.c 3116 <\test_location> 3117<\testname> 3118<testname=kill02> 3119 <description> 3120 Sending a signal to processes with the same process group ID 3121 3122 <\description> 3123 <test_location> 3124 ltp/testcases/kernel/syscalls/kill/kill02.c 3125 <\test_location> 3126<\testname> 3127<testname=kill03> 3128 <description> 3129 Test case to check that kill fails when given an invalid signal. 3130 3131 <\description> 3132 <test_location> 3133 ltp/testcases/kernel/syscalls/kill/kill03.c 3134 <\test_location> 3135<\testname> 3136<testname=kill04> 3137 <description> 3138 Test case to check that kill() fails when passed a non-existant pid. 3139 3140 <\description> 3141 <test_location> 3142 ltp/testcases/kernel/syscalls/kill/kill04.c 3143 <\test_location> 3144<\testname> 3145<testname=kill05> 3146 <description> 3147 Test case to check that kill() fails when passed a pid owned by another 3148 user. 3149 3150 <\description> 3151 <test_location> 3152 ltp/testcases/kernel/syscalls/kill/kill05.c 3153 <\test_location> 3154<\testname> 3155<testname=kill06> 3156 <description> 3157 Test case to check the basic functionality of kill() when killing an 3158 entire process group with a negative pid. 3159 3160 <\description> 3161 <test_location> 3162 ltp/testcases/kernel/syscalls/kill/kill06.c 3163 <\test_location> 3164<\testname> 3165<testname=kill07> 3166 <description> 3167 Test case to check that SIGKILL can not be caught. 3168 3169 <\description> 3170 <test_location> 3171 ltp/testcases/kernel/syscalls/kill/kill07.c 3172 <\test_location> 3173<\testname> 3174<testname=kill08> 3175 <description> 3176 Test case to check the basic functionality of kill() when kill an 3177 entire process group. 3178 3179 <\description> 3180 <test_location> 3181 ltp/testcases/kernel/syscalls/kill/kill08.c 3182 <\test_location> 3183<\testname> 3184<testname=kill09> 3185 <description> 3186 Basic test for kill(2) 3187 3188 <\description> 3189 <test_location> 3190 ltp/testcases/kernel/syscalls/kill/kill09.c 3191 <\test_location> 3192<\testname> 3193<testname=kill10> 3194 <description> 3195 Signal flooding test. 3196 3197 <\description> 3198 <test_location> 3199 ltp/testcases/kernel/syscalls/kill/kill10.c 3200 <\test_location> 3201<\testname> 3202<testname=kill11> 3203 <description> 3204 Check that when a child is killed by its parent, it returns the 3205 correct values to the waiting parent--child has default values. 3206 3207 <\description> 3208 <test_location> 3209 ltp/testcases/kernel/syscalls/kill/kill11.c 3210 <\test_location> 3211<\testname> 3212<testname=kill12> 3213 <description> 3214 Check that when a child is killed by its parent, it returns the 3215 correct values to the waiting parent--the child sets signal to 3216 ignore the kill. 3217 3218 <\description> 3219 <test_location> 3220 ltp/testcases/kernel/syscalls/kill/kill12.c 3221 <\test_location> 3222<\testname> 3223<testname=lchown01> 3224 <description> 3225 Verify that, lchown(2) succeeds to change the owner and group of a file 3226 specified by path to any numeric owner(uid)/group(gid) values when invoked 3227 by super-user. 3228 3229 <\description> 3230 <test_location> 3231 ltp/testcases/kernel/syscalls/lchown/lchown01.c 3232 <\test_location> 3233<\testname> 3234<testname=lchown02> 3235 <description> 3236 Verify that, 3237 1) lchown(2) returns -1 and sets errno to EPERM if the effective user id 3238 of process does not match the owner of the file and the process is 3239 not super user. 3240 2) lchown(2) returns -1 and sets errno to EACCES if search permission is 3241 denied on a component of the path prefix. 3242 3) lchown(2) returns -1 and sets errno to EFAULT if pathname points 3243 outside user's accessible address space. 3244 4) lchown(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 3245 component is too long. 3246 5) lchown(2) returns -1 and sets errno to ENOTDIR if the directory 3247 component in pathname is not a directory. 3248 6) lchown(2) returns -1 and sets errno to ENOENT if the specified file 3249 does not exists. 3250 3251 <\description> 3252 <test_location> 3253 ltp/testcases/kernel/syscalls/lchown/lchown02.c 3254 <\test_location> 3255<\testname> 3256<testname=link02> 3257 <description> 3258 Basic test for link(2) 3259 3260 <\description> 3261 <test_location> 3262 ltp/testcases/kernel/syscalls/link/link02.c 3263 <\test_location> 3264<\testname> 3265<testname=link03> 3266 <description> 3267 Multi links tests 3268 3269 <\description> 3270 <test_location> 3271 ltp/testcases/kernel/syscalls/link/link03.c 3272 <\test_location> 3273<\testname> 3274<testname=link04> 3275 <description> 3276 Negative test cases for link(2) 3277 3278 <\description> 3279 <test_location> 3280 ltp/testcases/kernel/syscalls/link/link04.c 3281 <\test_location> 3282<\testname> 3283<testname=link05> 3284 <description> 3285 Multi links (EMLINK) negative test 3286 3287 <\description> 3288 <test_location> 3289 ltp/testcases/kernel/syscalls/link/link05.c 3290 <\test_location> 3291<\testname> 3292<testname=listen01> 3293 <description> 3294 Verify that listen() returns the proper errno for various failure cases 3295 3296 <\description> 3297 <test_location> 3298 ltp/testcases/kernel/syscalls/listen/listen01.c 3299 <\test_location> 3300<\testname> 3301<testname=llseek01> 3302 <description> 3303 Verify that, llseek() call succeeds to set the file pointer position 3304 to an offset larger than file size. Also, verify that any attempt 3305 to write to this location fails. 3306 3307 <\description> 3308 <test_location> 3309 ltp/testcases/kernel/syscalls/llseek/llseek01.c 3310 <\test_location> 3311<\testname> 3312<testname=llseek02> 3313 <description> 3314 Verify that, 3315 1. llseek() returns -1 and sets errno to EINVAL, if the 'Whence' argument 3316 is not a proper value. 3317 2. llseek() returns -1 and sets errno to EBADF, if the file handle of 3318 the specified file is not valid. 3319 3320 <\description> 3321 <test_location> 3322 ltp/testcases/kernel/syscalls/llseek/llseek02.c 3323 <\test_location> 3324<\testname> 3325<testname=lseek01> 3326 <description> 3327 Basic test for lseek(2) 3328 3329 <\description> 3330 <test_location> 3331 ltp/testcases/kernel/syscalls/lseek/lseek01.c 3332 <\test_location> 3333<\testname> 3334<testname=lseek02> 3335 <description> 3336 Negative test for lseek(2) 3337 3338 <\description> 3339 <test_location> 3340 ltp/testcases/kernel/syscalls/lseek/lseek02.c 3341 <\test_location> 3342<\testname> 3343<testname=lseek03> 3344 <description> 3345 Negative test for lseek(2) whence 3346 3347 <\description> 3348 <test_location> 3349 ltp/testcases/kernel/syscalls/lseek/lseek03.c 3350 <\test_location> 3351<\testname> 3352<testname=lseek04> 3353 <description> 3354 Negative test for lseek(2) of a fifo 3355 3356 <\description> 3357 <test_location> 3358 ltp/testcases/kernel/syscalls/lseek/lseek04.c 3359 <\test_location> 3360<\testname> 3361<testname=lseek05> 3362 <description> 3363 Negative test for lseek(2) of a pipe 3364 3365 <\description> 3366 <test_location> 3367 ltp/testcases/kernel/syscalls/lseek/lseek05.c 3368 <\test_location> 3369<\testname> 3370<testname=lseek06> 3371 <description> 3372 Verify that, lseek() call succeeds to set the file pointer position 3373 to less than or equal to the file size, when a file is opened for 3374 read or write. 3375 3376 <\description> 3377 <test_location> 3378 ltp/testcases/kernel/syscalls/lseek/lseek06.c 3379 <\test_location> 3380<\testname> 3381<testname=lseek07> 3382 <description> 3383 Verify that, lseek() call succeeds to set the file pointer position 3384 to more than the file size, when a file is opened for reading/writing. 3385 3386 <\description> 3387 <test_location> 3388 ltp/testcases/kernel/syscalls/lseek/lseek07.c 3389 <\test_location> 3390<\testname> 3391<testname=lseek08> 3392 <description> 3393 Verify that, lseek() call succeeds to set the file pointer position 3394 to the end of the file when 'whence' value set to SEEK_END and any 3395 attempts to read from that position should fail. 3396 3397 <\description> 3398 <test_location> 3399 ltp/testcases/kernel/syscalls/lseek/lseek08.c 3400 <\test_location> 3401<\testname> 3402<testname=lseek09> 3403 <description> 3404 Verify that, lseek() call succeeds to set the file pointer position 3405 to the current specified location, when 'whence' value is set to 3406 SEEK_CUR and the data read from the specified location should match 3407 the expected data. 3408 3409 <\description> 3410 <test_location> 3411 ltp/testcases/kernel/syscalls/lseek/lseek09.c 3412 <\test_location> 3413<\testname> 3414<testname=lseek10> 3415 <description> 3416 Verify that, 3417 1. lseek() returns -1 and sets errno to ESPIPE, if the file handle of 3418 the specified file is associated with a pipe, socket, or FIFO. 3419 2. lseek() returns -1 and sets errno to EINVAL, if the 'Whence' argument 3420 is not a proper value. 3421 3. lseek() returns -1 and sets errno to EBADF, if the file handle of 3422 the specified file is not valid. 3423 3424 <\description> 3425 <test_location> 3426 ltp/testcases/kernel/syscalls/lseek/lseek10.c 3427 <\test_location> 3428<\testname> 3429<testname=lstat01> 3430 <description> 3431 Verify that, lstat(2) succeeds to get the status of a file pointed to by 3432 symlink and fills the stat structure elements. 3433 3434 <\description> 3435 <test_location> 3436 ltp/testcases/kernel/syscalls/lstat/lstat01.c 3437 <\test_location> 3438<\testname> 3439<testname=lstat02> 3440 <description> 3441 Basic test for lstat(2) 3442 3443 <\description> 3444 <test_location> 3445 ltp/testcases/kernel/syscalls/lstat/lstat02.c 3446 <\test_location> 3447<\testname> 3448<testname=lstat03> 3449 <description> 3450 Verify that, 3451 1) lstat(2) returns -1 and sets errno to EACCES if search permission is 3452 denied on a component of the path prefix. 3453 2) lstat(2) returns -1 and sets errno to ENOENT if the specified file 3454 does not exists or empty string. 3455 3) lstat(2) returns -1 and sets errno to EFAULT if pathname points 3456 outside user's accessible address space. 3457 4) lstat(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 3458 component is too long. 3459 5) lstat(2) returns -1 and sets errno to ENOTDIR if the directory 3460 component in pathname is not a directory. 3461 3462 <\description> 3463 <test_location> 3464 ltp/testcases/kernel/syscalls/lstat/lstat03.c 3465 <\test_location> 3466<\testname> 3467<testname=mallopt> 3468 <description> 3469 Test basic functionality of mallopt(). 3470 3471 <\description> 3472 <test_location> 3473 ltp/testcases/kernel/syscalls/mallopt 3474 <\test_location> 3475<\testname> 3476<testname=memcmp> 3477 <description> 3478 Test basic functionality of memcmp(). 3479 3480 <\description> 3481 <test_location> 3482 ltp/testcases/kernel/syscalls/memcmp 3483 <\test_location> 3484<\testname> 3485<testname=memcpy> 3486 <description> 3487 Test basic functionality of memcpy(). 3488 3489 <\description> 3490 <test_location> 3491 ltp/testcases/kernel/syscalls/memcpy 3492 <\test_location> 3493<\testname> 3494<testname=memset> 3495 <description> 3496 Test basic functionality of memset(). 3497 3498 <\description> 3499 <test_location> 3500 ltp/testcases/kernel/syscalls/memset 3501 <\test_location> 3502<\testname> 3503<testname=mkdir01> 3504 <description> 3505 Basic errno test for mkdir(2) 3506 3507 <\description> 3508 <test_location> 3509 ltp/testcases/kernel/syscalls/mkdir/mkdir01.c 3510 <\test_location> 3511<\testname> 3512<testname=mkdir02> 3513 <description> 3514 This test will verify that new directory created 3515 by mkdir(2) inherites the group ID from the parent 3516 directory and S_ISGID bit, if the S_ISGID bit is set 3517 in the parent directory. 3518 3519 <\description> 3520 <test_location> 3521 ltp/testcases/kernel/syscalls/mkdir/mkdir02.c 3522 <\test_location> 3523<\testname> 3524<testname=mkdir03> 3525 <description> 3526 Check mkdir() with various error conditions that should produce 3527 EFAULT, ENAMETOOLONG, EEXIST, ENOENT and ENOTDIR 3528 3529 <\description> 3530 <test_location> 3531 ltp/testcases/kernel/syscalls/mkdir/mkdir03.c 3532 <\test_location> 3533<\testname> 3534<testname=mkdir04> 3535 <description> 3536 Attempt to create a directory in a directory having no permissions. 3537 3538 <\description> 3539 <test_location> 3540 ltp/testcases/kernel/syscalls/mkdir/mkdir04.c 3541 <\test_location> 3542<\testname> 3543<testname=mkdir05> 3544 <description> 3545 This test will verify the mkdir(2) syscall basic functionality 3546 3547 <\description> 3548 <test_location> 3549 ltp/testcases/kernel/syscalls/mkdir/mkdir05.c 3550 <\test_location> 3551<\testname> 3552<testname=mkdir08> 3553 <description> 3554 Basic test for mkdir(2) 3555 3556 <\description> 3557 <test_location> 3558 ltp/testcases/kernel/syscalls/mkdir/mkdir08.c 3559 <\test_location> 3560<\testname> 3561<testname=mknod01> 3562 <description> 3563 Basic test for mknod(2) 3564 3565 <\description> 3566 <test_location> 3567 ltp/testcases/kernel/syscalls/mknod/mknod01.c 3568 <\test_location> 3569<\testname> 3570<testname=mknod02> 3571 <description> 3572 Verify that mknod(2) succeeds when used to create a filesystem 3573 node with set group-ID bit set on a directory without set group-ID bit set. 3574 The node created should have set group-ID bit set and its gid should be 3575 equal to that of its parent directory. 3576 3577 <\description> 3578 <test_location> 3579 ltp/testcases/kernel/syscalls/mknod/mknod02.c 3580 <\test_location> 3581<\testname> 3582<testname=mknod03> 3583 <description> 3584 Verify that mknod(2) succeeds when used to create a filesystem 3585 node with set group-ID bit set on a directory with set group-ID bit set. 3586 The node created should have set group-ID bit set and its gid should be 3587 equal to the effective gid of the process. 3588 3589 <\description> 3590 <test_location> 3591 ltp/testcases/kernel/syscalls/mknod/mknod03.c 3592 <\test_location> 3593<\testname> 3594<testname=mknod04> 3595 <description> 3596 Verify that mknod(2) succeeds when used to create a filesystem 3597 node on a directory with set group-ID bit set. 3598 The node created should not have group-ID bit set and its gid should be 3599 equal to the effective gid of the process. 3600 3601 <\description> 3602 <test_location> 3603 ltp/testcases/kernel/syscalls/mknod/mknod04.c 3604 <\test_location> 3605<\testname> 3606<testname=mknod05> 3607 <description> 3608 Verify that mknod(2) succeeds when used by root to create a filesystem 3609 node with set group-ID bit set on a directory with set group-ID bit set. 3610 The node created should have set group-ID bit set and its gid should be 3611 equal to that of its parent directory. 3612 3613 <\description> 3614 <test_location> 3615 ltp/testcases/kernel/syscalls/mknod/mknod05.c 3616 <\test_location> 3617<\testname> 3618<testname=mknod06> 3619 <description> 3620 Verify that, 3621 1) mknod(2) returns -1 and sets errno to EEXIST if specified path 3622 already exists. 3623 2) mknod(2) returns -1 and sets errno to EFAULT if pathname points 3624 outside user's accessible address space. 3625 3) mknod(2) returns -1 and sets errno to ENOENT if the directory 3626 component in pathname does not exist. 3627 4) mknod(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 3628 component was too long. 3629 5) mknod(2) returns -1 and sets errno to ENOTDIR if the directory 3630 component in pathname is not a directory. 3631 3632 <\description> 3633 <test_location> 3634 ltp/testcases/kernel/syscalls/mknod/mknod06.c 3635 <\test_location> 3636<\testname> 3637<testname=mknod07> 3638 <description> 3639 Verify that, 3640 1) mknod(2) returns -1 and sets errno to EPERM if the process id of 3641 the caller is not super-user. 3642 2) mknod(2) returns -1 and sets errno to EACCES if parent directory 3643 does not allow write permission to the process. 3644 3645 <\description> 3646 <test_location> 3647 ltp/testcases/kernel/syscalls/mknod/mknod07.c 3648 <\test_location> 3649<\testname> 3650<testname=mknod08> 3651 <description> 3652 Verify that mknod(2) succeeds when used to create a filesystem 3653 node on a directory without set group-ID bit set. The node created 3654 should not have set group-ID bit set and its gid should be equal to that 3655 of its parent directory. 3656 3657 <\description> 3658 <test_location> 3659 ltp/testcases/kernel/syscalls/mknod/mknod08.c 3660 <\test_location> 3661<\testname> 3662<testname=mlock01> 3663 <description> 3664 Test basic functionality of mlock(). 3665 3666 <\description> 3667 <test_location> 3668 ltp/testcases/kernel/syscalls/mlock/mlock01.c 3669 <\test_location> 3670<\testname> 3671<testname=mlock02> 3672 <description> 3673 Test to see the proper errors are returned by mlock(). 3674 3675 <\description> 3676 <test_location> 3677 ltp/testcases/kernel/syscalls/mlock/mlock02.c 3678 <\test_location> 3679<\testname> 3680<testname=mlockall01> 3681 <description> 3682 Test basic functionality of mlockall(). 3683 3684 <\description> 3685 <test_location> 3686 ltp/testcases/kernel/syscalls/mlockall/mlockall01.c 3687 <\test_location> 3688<\testname> 3689<testname=mlockall02> 3690 <description> 3691 Test to see the proper errors are returned by mlockall(). 3692 3693 <\description> 3694 <test_location> 3695 ltp/testcases/kernel/syscalls/mlockall/mlockall02.c 3696 <\test_location> 3697<\testname> 3698<testname=mmap001> 3699 <description> 3700 Tests mmapping a big file and writing it once 3701 3702 <\description> 3703 <test_location> 3704 ltp/testcases/kernel/syscalls/mmap/mmap001.c 3705 <\test_location> 3706<\testname> 3707<testname=mmap01> 3708 <description> 3709 Verify that, mmap() succeeds when used to map a file where size of the 3710 file is not a multiple of the page size, the memory area beyond the end 3711 of the file to the end of the page is accessible. Also, verify that 3712 this area is all zeroed and the modifications done to this area are 3713 not written to the file. 3714 3715 <\description> 3716 <test_location> 3717 ltp/testcases/kernel/syscalls/mmap/mmap01.c 3718 <\test_location> 3719<\testname> 3720<testname=mmap02> 3721 <description> 3722 Call mmap() with prot parameter set to PROT_READ and with the file 3723 descriptor being open for read, to map a file creating mapped memory 3724 with read access. The minimum file permissions should be 0444. 3725 3726 <\description> 3727 <test_location> 3728 ltp/testcases/kernel/syscalls/mmap/mmap02.c 3729 <\test_location> 3730<\testname> 3731<testname=mmap03> 3732 <description> 3733 Call mmap() to map a file creating a mapped region with execute access 3734 under the following conditions - 3735 - The prot parameter is set to PROT_EXE 3736 - The file descriptor is open for read 3737 - The file being mapped has execute permission bit set. 3738 - The minimum file permissions should be 0555. 3739 3740 The call should succeed to map the file creating mapped memory with the 3741 required attributes. 3742 3743 <\description> 3744 <test_location> 3745 ltp/testcases/kernel/syscalls/mmap/mmap03.c 3746 <\test_location> 3747<\testname> 3748<testname=mmap04> 3749 <description> 3750 Call mmap() to map a file creating a mapped region with read/exec access 3751 under the following conditions - 3752 - The prot parameter is set to PROT_READ|PROT_EXEC 3753 - The file descriptor is open for read 3754 - The file being mapped has read and execute permission bit set. 3755 - The minimum file permissions should be 0555. 3756 3757 The call should succeed to map the file creating mapped memory with the 3758 required attributes. 3759 3760 <\description> 3761 <test_location> 3762 ltp/testcases/kernel/syscalls/mmap/mmap04.c 3763 <\test_location> 3764<\testname> 3765<testname=mmap05> 3766 <description> 3767 Call mmap() to map a file creating mapped memory with no access under 3768 the following conditions - 3769 - The prot parameter is set to PROT_NONE 3770 - The file descriptor is open for read(any mode other than write) 3771 - The minimum file permissions should be 0444. 3772 3773 The call should succeed to map the file creating mapped memory with the 3774 required attributes. 3775 3776 <\description> 3777 <test_location> 3778 ltp/testcases/kernel/syscalls/mmap/mmap05.c 3779 <\test_location> 3780<\testname> 3781<testname=mmap06> 3782 <description> 3783 Call mmap() to map a file creating a mapped region with read access 3784 under the following conditions - 3785 - The prot parameter is set to PROT_READ 3786 - The file descriptor is open for writing. 3787 3788 The call should fail to map the file. 3789 3790 <\description> 3791 <test_location> 3792 ltp/testcases/kernel/syscalls/mmap/mmap06.c 3793 <\test_location> 3794<\testname> 3795<testname=mmap07> 3796 <description> 3797 Call mmap() to map a file creating a mapped region with read access 3798 under the following conditions - 3799 - The prot parameter is set to PROT_WRITE 3800 - The file descriptor is open for writing. 3801 - The flags parameter has MAP_PRIVATE set. 3802 3803 The call should fail to map the file. 3804 3805 <\description> 3806 <test_location> 3807 ltp/testcases/kernel/syscalls/mmap/mmap07.c 3808 <\test_location> 3809<\testname> 3810<testname=mmap08> 3811 <description> 3812 Verify that mmap() fails to map a file creating a mapped region 3813 when the file specified by file descriptor is not valid. 3814 3815 <\description> 3816 <test_location> 3817 ltp/testcases/kernel/syscalls/mmap/mmap08.c 3818 <\test_location> 3819<\testname> 3820<testname=mmap09> 3821 <description> 3822 Verify that truncating a mmaped file works correctly. 3823 3824 <\description> 3825 <test_location> 3826 ltp/testcases/kernel/syscalls/mmap/mmap09.c 3827 <\test_location> 3828<\testname> 3829<testname=modify_ldt01> 3830 <description> 3831 Testcase to check the error conditions for modify_ldt(2) 3832 3833 <\description> 3834 <test_location> 3835 ltp/testcases/kernel/syscalls/modify_ldt/modify_ldt01.c 3836 <\test_location> 3837<\testname> 3838<testname=modify_ldt02> 3839 <description> 3840 Testcase to check the error conditions for modify_ldt(2) 3841 3842 <\description> 3843 <test_location> 3844 ltp/testcases/kernel/syscalls/modify_ldt/modify_ldt02.c 3845 <\test_location> 3846<\testname> 3847<testname=mount01> 3848 <description> 3849 Basic test for mount(2) 3850 3851 <\description> 3852 <test_location> 3853 ltp/testcases/kernel/syscalls/mount/mount01.c 3854 <\test_location> 3855<\testname> 3856<testname=mount02> 3857 <description> 3858 Test for checking basic error conditions for mount(2) 3859 3860 <\description> 3861 <test_location> 3862 ltp/testcases/kernel/syscalls/mount/mount02.c 3863 <\test_location> 3864<\testname> 3865<testname=mount03> 3866 <description> 3867 Test for checking mount(2) flags 3868 3869 <\description> 3870 <test_location> 3871 ltp/testcases/kernel/syscalls/mount/mount03.c 3872 <\test_location> 3873<\testname> 3874<testname=mount04> 3875 <description> 3876 Test for checking EPERM 3877 3878 <\description> 3879 <test_location> 3880 ltp/testcases/kernel/syscalls/mount/mount04.c 3881 <\test_location> 3882<\testname> 3883<testname=mprotect01> 3884 <description> 3885 Testcase to check the error conditions for mprotect(2) 3886 3887 <\description> 3888 <test_location> 3889 ltp/testcases/kernel/syscalls/mprotect/mprotect01.c 3890 <\test_location> 3891<\testname> 3892<testname=mprotect02> 3893 <description> 3894 Testcase to check the mprotect(2) system call. 3895 3896 <\description> 3897 <test_location> 3898 ltp/testcases/kernel/syscalls/mprotect/mprotect02.c 3899 <\test_location> 3900<\testname> 3901<testname=mprotect03> 3902 <description> 3903 Testcase to check the mprotect(2) system call. 3904 3905 <\description> 3906 <test_location> 3907 ltp/testcases/kernel/syscalls/mprotect/mprotect03.c 3908 <\test_location> 3909<\testname> 3910<testname=mremap01> 3911 <description> 3912 Verify that, mremap() succeeds when used to expand the existing 3913 virtual memory mapped region to the requested size where the 3914 virtual memory area was previously mapped to a file using mmap(). 3915 3916 <\description> 3917 <test_location> 3918 ltp/testcases/kernel/syscalls/mremap/mremap01.c 3919 <\test_location> 3920<\testname> 3921<testname=mremap02> 3922 <description> 3923 Verify that, 3924 mremap() fails when used to expand the existing virtual memory mapped 3925 region to the requested size, if the virtual memory area previously 3926 mapped was not page aligned or invalid argument specified. 3927 3928 <\description> 3929 <test_location> 3930 ltp/testcases/kernel/syscalls/mremap/mremap02.c 3931 <\test_location> 3932<\testname> 3933<testname=mremap03> 3934 <description> 3935 Verify that, 3936 mremap() fails when used to expand the existing virtual memory mapped 3937 region to the requested size, if there already exists mappings that 3938 cover the whole address space requsted or the old address specified was 3939 not mapped. 3940 3941 <\description> 3942 <test_location> 3943 ltp/testcases/kernel/syscalls/mremap/mremap03.c 3944 <\test_location> 3945<\testname> 3946<testname=mremap04> 3947 <description> 3948 Verify that, 3949 mremap() fails when used to expand the existing virtual memory mapped 3950 region to the requested size, if the memory area cannot be expanded at 3951 the current virtual address and MREMAP_MAYMOVE flag not set. 3952 3953 <\description> 3954 <test_location> 3955 ltp/testcases/kernel/syscalls/mremap/mremap04.c 3956 <\test_location> 3957<\testname> 3958<testname=msync01> 3959 <description> 3960 Verify that, msync() succeeds, when the region to synchronize, is part 3961 of, or all of a mapped region. 3962 3963 <\description> 3964 <test_location> 3965 ltp/testcases/kernel/syscalls/msync/msync01.c 3966 <\test_location> 3967<\testname> 3968<testname=msync02> 3969 <description> 3970 Verify that msync() succeeds when the region to synchronize is mapped 3971 shared and the flags argument is MS_INVALIDATE. 3972 3973 <\description> 3974 <test_location> 3975 ltp/testcases/kernel/syscalls/msync/msync02.c 3976 <\test_location> 3977<\testname> 3978<testname=msync03> 3979 <description> 3980 Verify that, msync() fails, when the region to synchronize, is outside 3981 the address space of the process. 3982 3983 <\description> 3984 <test_location> 3985 ltp/testcases/kernel/syscalls/msync/msync03.c 3986 <\test_location> 3987<\testname> 3988<testname=msync04> 3989 <description> 3990 Verify that, msync() fails, when the region to synchronize, is mapped 3991 but the flags argument is invalid. 3992 3993 <\description> 3994 <test_location> 3995 ltp/testcases/kernel/syscalls/msync/msync04.c 3996 <\test_location> 3997<\testname> 3998<testname=msync05> 3999 <description> 4000 Verify that, msync() fails, when the region to synchronize, was not 4001 mapped. 4002 4003 <\description> 4004 <test_location> 4005 ltp/testcases/kernel/syscalls/msync/msync05.c 4006 <\test_location> 4007<\testname> 4008<testname=munmap01> 4009 <description> 4010 Verify that, munmap call will succeed to unmap a mapped file or 4011 anonymous shared memory region from the calling process's address space 4012 and after successful completion of munmap, the unmapped region is no 4013 longer accessible. 4014 4015 <\description> 4016 <test_location> 4017 ltp/testcases/kernel/syscalls/munmap/munmap01.c 4018 <\test_location> 4019<\testname> 4020<testname=munmap02> 4021 <description> 4022 Verify that, munmap call will succeed to unmap a mapped file or 4023 anonymous shared memory region from the calling process's address space 4024 if the region specified by the address and the length is part or all of 4025 the mapped region. 4026 4027 <\description> 4028 <test_location> 4029 ltp/testcases/kernel/syscalls/munmap/munmap02.c 4030 <\test_location> 4031<\testname> 4032<testname=munmap03> 4033 <description> 4034 Verify that, munmap call will fail to unmap a mapped file or anonymous 4035 shared memory region from the calling process's address space if the 4036 address and the length of the region to be unmapped points outside the 4037 calling process's address space 4038 4039 <\description> 4040 <test_location> 4041 ltp/testcases/kernel/syscalls/munmap/munmap03.c 4042 <\test_location> 4043<\testname> 4044<testname=nanosleep01> 4045 <description> 4046 Verify that nanosleep() will be successful to suspend the execution 4047 of a process for a specified time. 4048 4049 <\description> 4050 <test_location> 4051 ltp/testcases/kernel/syscalls/nanosleep/nanosleep01.c 4052 <\test_location> 4053<\testname> 4054<testname=nanosleep02> 4055 <description> 4056 Verify that nanosleep() will be successful to suspend the execution 4057 of a process, returns after the receipt of a signal and writes the 4058 remaining sleep time into the structure. 4059 4060 <\description> 4061 <test_location> 4062 ltp/testcases/kernel/syscalls/nanosleep/nanosleep02.c 4063 <\test_location> 4064<\testname> 4065<testname=nanosleep03> 4066 <description> 4067 Verify that nanosleep() will fail to suspend the execution 4068 of a process for a specified time if interrupted by a non-blocked signal. 4069 4070 <\description> 4071 <test_location> 4072 ltp/testcases/kernel/syscalls/nanosleep/nanosleep03.c 4073 <\test_location> 4074<\testname> 4075<testname=nanosleep04> 4076 <description> 4077 Verify that nanosleep() will fail to suspend the execution 4078 of a process if the specified pause time is invalid. 4079 4080 <\description> 4081 <test_location> 4082 ltp/testcases/kernel/syscalls/nanosleep/nanosleep04.c 4083 <\test_location> 4084<\testname> 4085<testname=nftw> 4086 <description> 4087 Basic test of nftw(). 4088 4089 <\description> 4090 <test_location> 4091 ltp/testcases/kernel/syscalls/nftw/nftw.c 4092 <\test_location> 4093<\testname> 4094<testname=nftw64> 4095 <description> 4096 Basic test of nftw64() 4097 4098 <\description> 4099 <test_location> 4100 ltp/testcases/kernel/syscalls/nftw/nftw64.c 4101 <\test_location> 4102<\testname> 4103<testname=nice01> 4104 <description> 4105 Verify that root can provide a negative value to nice() 4106 and hence root can decrease the nice value of the process 4107 using nice() system call 4108 4109 <\description> 4110 <test_location> 4111 ltp/testcases/kernel/syscalls/nice/nice01.c 4112 <\test_location> 4113<\testname> 4114<testname=nice02> 4115 <description> 4116 Verify that any user can successfully increase the nice value of 4117 the process by passing a higher increment value (> max. applicable limits) 4118 to nice() system call. 4119 4120 <\description> 4121 <test_location> 4122 ltp/testcases/kernel/syscalls/nice/nice02.c 4123 <\test_location> 4124<\testname> 4125<testname=nice03> 4126 <description> 4127 Verify that any user can successfully increase the nice value of 4128 the process by passing an increment value (< max. applicable limits) to 4129 nice() system call. 4130 4131 <\description> 4132 <test_location> 4133 ltp/testcases/kernel/syscalls/nice/nice03.c 4134 <\test_location> 4135<\testname> 4136<testname=nice04> 4137 <description> 4138 Verify that, nice(2) fails when, a non-root user attempts to increase 4139 the priority of a process by specifying a negative increment value. 4140 4141 <\description> 4142 <test_location> 4143 ltp/testcases/kernel/syscalls/nice/nice04.c 4144 <\test_location> 4145<\testname> 4146<testname=nice05> 4147 <description> 4148 Basic test for nice(2) 4149 4150 <\description> 4151 <test_location> 4152 ltp/testcases/kernel/syscalls/nice/nice05.c 4153 <\test_location> 4154<\testname> 4155<testname=open01> 4156 <description> 4157 Open a file with oflag = O_CREAT set, does it set the sticky bit off? 4158 4159 Open "/tmp" with O_DIRECTORY, does it set the S_IFDIR bit on? 4160 4161 <\description> 4162 <test_location> 4163 ltp/testcases/kernel/syscalls/open/open01.c 4164 <\test_location> 4165<\testname> 4166<testname=open02> 4167 <description> 4168 Test if open without O_CREAT returns -1 if a file does not exist. 4169 4170 <\description> 4171 <test_location> 4172 ltp/testcases/kernel/syscalls/open/open02.c 4173 <\test_location> 4174<\testname> 4175<testname=open03> 4176 <description> 4177 Basic test for open(2) 4178 4179 <\description> 4180 <test_location> 4181 ltp/testcases/kernel/syscalls/open/open03.c 4182 <\test_location> 4183<\testname> 4184<testname=open04> 4185 <description> 4186 Testcase to check that open(2) sets EMFILE if a process opens files 4187 more than its descriptor size 4188 4189 <\description> 4190 <test_location> 4191 ltp/testcases/kernel/syscalls/open/open04.c 4192 <\test_location> 4193<\testname> 4194<testname=open05> 4195 <description> 4196 Testcase to check open(2) sets errno to EACCES correctly. 4197 4198 <\description> 4199 <test_location> 4200 ltp/testcases/kernel/syscalls/open/open05.c 4201 <\test_location> 4202<\testname> 4203<testname=open06> 4204 <description> 4205 Testcase to check open(2) sets errno to ENXIO correctly. 4206 4207 <\description> 4208 <test_location> 4209 ltp/testcases/kernel/syscalls/open/open06.c 4210 <\test_location> 4211<\testname> 4212<testname=open07> 4213 <description> 4214 Test the open(2) system call to ensure that it sets ELOOP correctly. 4215 4216 <\description> 4217 <test_location> 4218 ltp/testcases/kernel/syscalls/open/open07.c 4219 <\test_location> 4220<\testname> 4221<testname=open08> 4222 <description> 4223 Check for the following errors: 4224 1. EEXIST 4225 2. EISDIR 4226 3. ENOTDIR 4227 4. ENAMETOOLONG 4228 5. EFAULT 4229 6. ETXTBSY 4230 4231 <\description> 4232 <test_location> 4233 ltp/testcases/kernel/syscalls/open/open08.c 4234 <\test_location> 4235<\testname> 4236<testname=open09> 4237 <description> 4238 Does a read on a file opened with oflag set to O_WRONLY and checks for -1 return. 4239 Does a write on a file opened with oflag set to O_RDONLY and checks for -1 return. 4240 4241 <\description> 4242 <test_location> 4243 ltp/testcases/kernel/syscalls/open/open09.c 4244 <\test_location> 4245<\testname> 4246<testname=open10> 4247 <description> 4248 Verifies that the group ID and setgid bit are set correctly when a new file 4249 is created using open. 4250 4251 <\description> 4252 <test_location> 4253 ltp/testcases/kernel/syscalls/open/open10.c 4254 <\test_location> 4255<\testname> 4256<testname=pathconf01> 4257 <description> 4258 Basic test for pathconf(2) 4259 4260 <\description> 4261 <test_location> 4262 ltp/testcases/kernel/syscalls/pathconf/pathconf01.c 4263 <\test_location> 4264<\testname> 4265<testname=pause01> 4266 <description> 4267 Basic test for pause(2) 4268 4269 <\description> 4270 <test_location> 4271 ltp/testcases/kernel/syscalls/pause/pause01.c 4272 <\test_location> 4273<\testname> 4274<testname=pause02> 4275 <description> 4276 Verify that, pause() returns -1 and sets errno to EINTR after receipt 4277 of a signal which is caught by the calling process. Also, verify that 4278 the calling process will resume execution from the point of suspension. 4279 4280 <\description> 4281 <test_location> 4282 ltp/testcases/kernel/syscalls/pause/pause02.c 4283 <\test_location> 4284<\testname> 4285<testname=pause03> 4286 <description> 4287 Verify that a process is no longer accessible on receipt of SIGKILL 4288 signal after being suspended by pause(). 4289 4290 <\description> 4291 <test_location> 4292 ltp/testcases/kernel/syscalls/pause/pause03.c 4293 <\test_location> 4294<\testname> 4295<testname=personality01> 4296 <description> 4297 Check that we can set the personality for a process. 4298 4299 <\description> 4300 <test_location> 4301 ltp/testcases/kernel/syscalls/personality/personality01.c 4302 <\test_location> 4303<\testname> 4304<testname=personality02> 4305 <description> 4306 Check that we get EINVAL for a bad personality. 4307 4308 <\description> 4309 <test_location> 4310 ltp/testcases/kernel/syscalls/personality/personality02.c 4311 <\test_location> 4312<\testname> 4313<testname=pipe01> 4314 <description> 4315 Testcase to check the basic functionality of the pipe(2) syscall: 4316 Check that both ends of the pipe (both file descriptors) are 4317 available to a process opening the pipe. 4318 4319 <\description> 4320 <test_location> 4321 ltp/testcases/kernel/syscalls/pipe/pipe01.c 4322 <\test_location> 4323<\testname> 4324<testname=pipe05> 4325 <description> 4326 Check what happens when pipe is passed a bad file descriptor. 4327 4328 <\description> 4329 <test_location> 4330 ltp/testcases/kernel/syscalls/pipe/pipe05.c 4331 <\test_location> 4332<\testname> 4333<testname=pipe06> 4334 <description> 4335 Check what happens when the system runs out of pipes. 4336 4337 <\description> 4338 <test_location> 4339 ltp/testcases/kernel/syscalls/pipe/pipe06.c 4340 <\test_location> 4341<\testname> 4342<testname=pipe08> 4343 <description> 4344 Check that a SIGPIPE signal is generated when a write is 4345 attempted on an empty pipe. 4346 4347 <\description> 4348 <test_location> 4349 ltp/testcases/kernel/syscalls/pipe/pipe08.c 4350 <\test_location> 4351<\testname> 4352<testname=pipe09> 4353 <description> 4354 Check that two processes can use the same pipe at the same time. 4355 4356 <\description> 4357 <test_location> 4358 ltp/testcases/kernel/syscalls/pipe/pipe09.c 4359 <\test_location> 4360<\testname> 4361<testname=pipe10> 4362 <description> 4363 Check that parent can open a pipe and have a child read from it 4364 4365 <\description> 4366 <test_location> 4367 ltp/testcases/kernel/syscalls/pipe/pipe10.c 4368 <\test_location> 4369<\testname> 4370<testname=pipe11> 4371 <description> 4372 Check if many children can read what is written to a pipe by the 4373 parent. 4374 4375 <\description> 4376 <test_location> 4377 ltp/testcases/kernel/syscalls/pipe/pipe11.c 4378 <\test_location> 4379<\testname> 4380<testname=poll01> 4381 <description> 4382 Verify that valid open file descriptor must be provided to poll() to 4383 succeed. 4384 4385 <\description> 4386 <test_location> 4387 ltp/testcases/kernel/syscalls/poll/poll01.c 4388 <\test_location> 4389<\testname> 4390<testname=prctl01> 4391 <description> 4392 Basic test of prctl(). 4393 4394 <\description> 4395 <test_location> 4396 ltp/testcases/kernel/syscalls/prctl/prctl01.c 4397 <\test_location> 4398<\testname> 4399<testname=prctl02> 4400 <description> 4401 Test of error conditions for prctl(). 4402 4403 <\description> 4404 <test_location> 4405 ltp/testcases/kernel/syscalls/prctl/prctl02.c 4406 <\test_location> 4407<\testname> 4408<testname=pread01> 4409 <description> 4410 Verify the functionality of pread() by writing known data using pwrite() 4411 to the file at various specified offsets and later read from the file from 4412 various specified offsets, comparing the data read aganist the data 4413 written. 4414 4415 <\description> 4416 <test_location> 4417 ltp/testcases/kernel/syscalls/pread/pread01.c 4418 <\test_location> 4419<\testname> 4420<testname=pread02> 4421 <description> 4422 Verify that, 4423 1) pread() fails when attempted to read from an unnamed pipe. 4424 2) pread() fails if the specified offset position was invalid. 4425 4426 <\description> 4427 <test_location> 4428 ltp/testcases/kernel/syscalls/pread/pread02.c 4429 <\test_location> 4430<\testname> 4431<testname=profil01> 4432 <description> 4433 Basic test of profil(). 4434 4435 <\description> 4436 <test_location> 4437 ltp/testcases/kernel/syscalls/profil/profil01.c 4438 <\test_location> 4439<\testname> 4440<testname=ptrace01> 4441 <description> 4442 Functionality test for ptrace(2). 4443 4444 <\description> 4445 <test_location> 4446 ltp/testcases/kernel/syscalls/ptrace/ptrace01.c 4447 <\test_location> 4448<\testname> 4449<testname=ptrace02> 4450 <description> 4451 Functionality test for ptrace(2). 4452 4453 <\description> 4454 <test_location> 4455 ltp/testcases/kernel/syscalls/ptrace/ptrace02.c 4456 <\test_location> 4457<\testname> 4458<testname=ptrace3> 4459 <description> 4460 Tests for error conditions. 4461 4462 <\description> 4463 <test_location> 4464 <\test_location> 4465<\testname> 4466<testname=pwrite01> 4467 <description> 4468 Verify the functionality of pwrite() by writing known data using pwrite() 4469 to the file at various specified offsets and later read from the file from 4470 various specified offsets, comparing the data written aganist the data 4471 read using read(). 4472 4473 <\description> 4474 <test_location> 4475 ltp/testcases/kernel/syscalls/pwrite/pwrite01.c 4476 <\test_location> 4477<\testname> 4478<testname=pwrite02> 4479 <description> 4480 Verify that, 4481 1) pwrite() fails when attempted to write to an unnamed pipe. 4482 2) pwrite() fails if the specified offset position was invalid. 4483 4484 <\description> 4485 <test_location> 4486 ltp/testcases/kernel/syscalls/pwrite/pwrite02.c 4487 <\test_location> 4488<\testname> 4489<testname=read01> 4490 <description> 4491 Basic test for the read(2) system call 4492 4493 <\description> 4494 <test_location> 4495 ltp/testcases/kernel/syscalls/read/read01.c 4496 <\test_location> 4497<\testname> 4498<testname=read02> 4499 <description> 4500 test 1: 4501 Does read return -1 if file descriptor is not valid, check for EBADF 4502 4503 test 2: 4504 Check if read sets EISDIR, if the fd refers to a directory 4505 4506 test 3: 4507 Check if read sets EFAULT, if buf is -1. 4508 4509 <\description> 4510 <test_location> 4511 ltp/testcases/kernel/syscalls/read/read02.c 4512 <\test_location> 4513<\testname> 4514<testname=read03> 4515 <description> 4516 Testcase to check that read() sets errno to EAGAIN 4517 4518 <\description> 4519 <test_location> 4520 ltp/testcases/kernel/syscalls/read/read03.c 4521 <\test_location> 4522<\testname> 4523<testname=read04> 4524 <description> 4525 Testcase to check if read returns the number of bytes read correctly. 4526 4527 <\description> 4528 <test_location> 4529 ltp/testcases/kernel/syscalls/read/read04.c 4530 <\test_location> 4531<\testname> 4532<testname=readdir01> 4533 <description> 4534 Write multiple files and try to find them with readdir(). 4535 4536 <\description> 4537 <test_location> 4538 ltp/testcases/kernel/syscalls/readdir/readdir01.c 4539 <\test_location> 4540<\testname> 4541<testname=readdir02> 4542 <description> 4543 Try to readdir with invalid directory stream descriptor dir. 4544 4545 <\description> 4546 <test_location> 4547 ltp/testcases/kernel/syscalls/readdir/readdir02.c 4548 <\test_location> 4549<\testname> 4550<testname=readlink01> 4551 <description> 4552 Verify that, readlink will succeed to read the contents of the symbolic 4553 link created the process. 4554 4555 <\description> 4556 <test_location> 4557 ltp/testcases/kernel/syscalls/readlink/readlink01.c 4558 <\test_location> 4559<\testname> 4560<testname=readlink02> 4561 <description> 4562 Basic test for the readlink(2) system call 4563 4564 <\description> 4565 <test_location> 4566 ltp/testcases/kernel/syscalls/readlink/readlink02.c 4567 <\test_location> 4568<\testname> 4569<testname=readlink03> 4570 <description> 4571 Verify that, 4572 1) readlink(2) returns -1 and sets errno to EACCES if search/write 4573 permission is denied in the directory where the symbolic link 4574 resides. 4575 2) readlink(2) returns -1 and sets errno to EINVAL if the buffer size 4576 is not positive. 4577 3) readlink(2) returns -1 and sets errno to EINVAL if the specified 4578 file is not a symbolic link file. 4579 4) readlink(2) returns -1 and sets errno to ENAMETOOLONG if the 4580 pathname component of symbolic link is too long (ie, > PATH_MAX). 4581 5) readlink(2) returns -1 and sets errno to ENOENT if the component of 4582 symbolic link points to an empty string. 4583 4584 <\description> 4585 <test_location> 4586 ltp/testcases/kernel/syscalls/readlink/readlink03.c 4587 <\test_location> 4588<\testname> 4589<testname=readlink04> 4590 <description> 4591 Verify that, readlink call will succeed to read the contents of the 4592 symbolic link if invoked by non-root user who is not the owner of the 4593 symbolic link. 4594 4595 <\description> 4596 <test_location> 4597 ltp/testcases/kernel/syscalls/readlink/readlink04.c 4598 <\test_location> 4599<\testname> 4600<testname=readv01> 4601 <description> 4602 Testcase to check the basic functionality of the readv(2) system call. 4603 4604 <\description> 4605 <test_location> 4606 ltp/testcases/kernel/syscalls/readv/readv01.c 4607 <\test_location> 4608<\testname> 4609<testname=readv02> 4610 <description> 4611 Testcase to check the error conditions of the readv(2) system call. 4612 4613 <\description> 4614 <test_location> 4615 ltp/testcases/kernel/syscalls/readv/readv02.c 4616 <\test_location> 4617<\testname> 4618<testname=reboot01> 4619 <description> 4620 Test basic functionality of reboot(). 4621 4622 <\description> 4623 <test_location> 4624 ltp/testcases/kernel/syscalls/reboot/reboot01.c 4625 <\test_location> 4626<\testname> 4627<testname=reboot02> 4628 <description> 4629 Test error conditions of reboot(). 4630 4631 <\description> 4632 <test_location> 4633 ltp/testcases/kernel/syscalls/reboot/reboot02.c 4634 <\test_location> 4635<\testname> 4636<testname=recv01> 4637 <description> 4638 Verify that recv() returns the proper errno for various failure cases 4639 4640 <\description> 4641 <test_location> 4642 ltp/testcases/kernel/syscalls/recv/recv01.c 4643 <\test_location> 4644<\testname> 4645<testname=recvfrom01> 4646 <description> 4647 Verify that recvfrom() returns the proper errno for various failure cases 4648 4649 <\description> 4650 <test_location> 4651 ltp/testcases/kernel/syscalls/recvfrom/recvfrom01.c 4652 <\test_location> 4653<\testname> 4654<testname=recvmsg01> 4655 <description> 4656 Verify that recvmsg() returns the proper errno for various failure cases 4657 4658 <\description> 4659 <test_location> 4660 ltp/testcases/kernel/syscalls/recvmsg/recvmsg01.c 4661 <\test_location> 4662<\testname> 4663<testname=rename01> 4664 <description> 4665 This test will verify the rename(2) syscall basic functionality. 4666 Verify rename() works when the "new" file or directory does not exist. 4667 4668 <\description> 4669 <test_location> 4670 ltp/testcases/kernel/syscalls/rename/rename01.c 4671 <\test_location> 4672<\testname> 4673<testname=rename02> 4674 <description> 4675 Basic test for the rename(2) system call 4676 4677 <\description> 4678 <test_location> 4679 ltp/testcases/kernel/syscalls/rename/rename02.c 4680 <\test_location> 4681<\testname> 4682<testname=rename03> 4683 <description> 4684 This test will verify that rename(2) functions correctly 4685 when the "new" file or directory exists 4686 4687 <\description> 4688 <test_location> 4689 ltp/testcases/kernel/syscalls/rename/rename03.c 4690 <\test_location> 4691<\testname> 4692<testname=rename04> 4693 <description> 4694 This test will verify that rename(2) failed when newpath is 4695 a non-empty directory and return EEXIST or ENOTEMPTY 4696 4697 <\description> 4698 <test_location> 4699 ltp/testcases/kernel/syscalls/rename/rename04.c 4700 <\test_location> 4701<\testname> 4702<testname=rename05> 4703 <description> 4704 This test will verify that rename(2) fails with EISDIR 4705 4706 <\description> 4707 <test_location> 4708 ltp/testcases/kernel/syscalls/rename/rename05.c 4709 <\test_location> 4710<\testname> 4711<testname=rename06> 4712 <description> 4713 This test will verify that rename(2) failed in EINVAL 4714 4715 <\description> 4716 <test_location> 4717 ltp/testcases/kernel/syscalls/rename/rename06.c 4718 <\test_location> 4719<\testname> 4720<testname=rename07> 4721 <description> 4722 This test will verify that rename(2) failed in ENOTDIR 4723 4724 <\description> 4725 <test_location> 4726 ltp/testcases/kernel/syscalls/rename/rename07.c 4727 <\test_location> 4728<\testname> 4729<testname=rename08> 4730 <description> 4731 This test will verify that rename(2) syscall failed in EFAULT 4732 4733 <\description> 4734 <test_location> 4735 ltp/testcases/kernel/syscalls/rename/rename08.c 4736 <\test_location> 4737<\testname> 4738<testname=rename09> 4739 <description> 4740 check rename() fails with EACCES 4741 4742 <\description> 4743 <test_location> 4744 ltp/testcases/kernel/syscalls/rename/rename09.c 4745 <\test_location> 4746<\testname> 4747<testname=rename10> 4748 <description> 4749 This test will verify that rename(2) syscall fails with ENAMETOOLONG 4750 and ENOENT 4751 4752 <\description> 4753 <test_location> 4754 ltp/testcases/kernel/syscalls/rename/rename10.c 4755 <\test_location> 4756<\testname> 4757<testname=rename11> 4758 <description> 4759 This test will verify that rename(2) failed in EBUSY 4760 4761 <\description> 4762 <test_location> 4763 <\test_location> 4764<\testname> 4765<testname=rename12> 4766 <description> 4767 check rename() fails with EPERM 4768 4769 <\description> 4770 <test_location> 4771 ltp/testcases/kernel/syscalls/rename/rename12.c 4772 <\test_location> 4773<\testname> 4774<testname=rename13> 4775 <description> 4776 Verify rename() return successfully and performs no other action 4777 when "old" file and "new" file link to the same file. 4778 4779 <\description> 4780 <test_location> 4781 ltp/testcases/kernel/syscalls/rename/rename13.c 4782 <\test_location> 4783<\testname> 4784<testname=rmdir01> 4785 <description> 4786 This test will verify that rmdir(2) syscall basic functionality. 4787 verify rmdir(2) returns a value of 0 and the directory being 4788 removed 4789 4790 <\description> 4791 <test_location> 4792 ltp/testcases/kernel/syscalls/rmdir/rmdir01.c 4793 <\test_location> 4794<\testname> 4795<testname=rmdir02> 4796 <description> 4797 This test will verify that rmdir(2) fail in 4798 1. ENOTEMPTY 4799 2. EBUSY 4800 3. ENAMETOOLONG 4801 4. ENOENT 4802 5. ENOTDIR 4803 6. EFAULT 4804 7. EFAULT 4805 4806 <\description> 4807 <test_location> 4808 ltp/testcases/kernel/syscalls/rmdir/rmdir02.c 4809 <\test_location> 4810<\testname> 4811<testname=rmdir03> 4812 <description> 4813 check rmdir() fails with EPERM or EACCES 4814 4815 <\description> 4816 <test_location> 4817 ltp/testcases/kernel/syscalls/rmdir/rmdir03.c 4818 <\test_location> 4819<\testname> 4820<testname=rmdir04> 4821 <description> 4822 Basic test for the rmdir(2) system call 4823 4824 <\description> 4825 <test_location> 4826 ltp/testcases/kernel/syscalls/rmdir/rmdir04.c 4827 <\test_location> 4828<\testname> 4829<testname=rmdir05> 4830 <description> 4831 Verify that rmdir(2) returns a value of -1 and sets errno to indicate the error. 4832 4833 <\description> 4834 <test_location> 4835 ltp/testcases/kernel/syscalls/rmdir/rmdir05.c 4836 <\test_location> 4837<\testname> 4838<testname=sbrk01> 4839 <description> 4840 Basic test for the sbrk(2) system call. 4841 4842 <\description> 4843 <test_location> 4844 ltp/testcases/kernel/syscalls/sbrk/sbrk01.c 4845 <\test_location> 4846<\testname> 4847<testname=sched_get_priority_max01> 4848 <description> 4849 Basic test for sched_get_priority_max(). 4850 4851 <\description> 4852 <test_location> 4853 ltp/testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max01.c 4854 <\test_location> 4855<\testname> 4856<testname=sched_get_priority_max02> 4857 <description> 4858 Error condition test for sched_get_priority_max(). 4859 4860 <\description> 4861 <test_location> 4862 ltp/testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max02.c 4863 <\test_location> 4864<\testname> 4865<testname=sched_get_priority_min01> 4866 <description> 4867 Basic test for sched_get_priority_min(). 4868 4869 <\description> 4870 <test_location> 4871 ltp/testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min01.c 4872 <\test_location> 4873<\testname> 4874<testname=sched_get_priority_min02> 4875 <description> 4876 Error condition test for sched_get_priority_min(). 4877 4878 <\description> 4879 <test_location> 4880 ltp/testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min02.c 4881 <\test_location> 4882<\testname> 4883<testname=sched_getparam01> 4884 <description> 4885 Basic test for sched_getparam(2) 4886 4887 <\description> 4888 <test_location> 4889 ltp/testcases/kernel/syscalls/sched_getparam/sched_getparam01.c 4890 <\test_location> 4891<\testname> 4892<testname=sched_getparam02> 4893 <description> 4894 Get scheduling parametes for parent process 4895 4896 <\description> 4897 <test_location> 4898 ltp/testcases/kernel/syscalls/sched_getparam/sched_getparam02.c 4899 <\test_location> 4900<\testname> 4901<testname=sched_getparam03> 4902 <description> 4903 Testing error conditions for sched_getparam(2) 4904 4905 <\description> 4906 <test_location> 4907 ltp/testcases/kernel/syscalls/sched_getparam/sched_getparam03.c 4908 <\test_location> 4909<\testname> 4910<testname=sched_getscheduler01> 4911 <description> 4912 Testcase to check sched_getscheduler() returns correct return value 4913 4914 <\description> 4915 <test_location> 4916 ltp/testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler01.c 4917 <\test_location> 4918<\testname> 4919<testname=sched_getscheduler02> 4920 <description> 4921 To check for the errno ESRCH 4922 4923 <\description> 4924 <test_location> 4925 ltp/testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler02.c 4926 <\test_location> 4927<\testname> 4928<testname=sched_rr_get_interval01> 4929 <description> 4930 Basic test for sched_rr_get_interval(2) 4931 4932 <\description> 4933 <test_location> 4934 ltp/testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval01.c 4935 <\test_location> 4936<\testname> 4937<testname=sched_rr_get_interval02> 4938 <description> 4939 Functionality test 4940 4941 <\description> 4942 <test_location> 4943 ltp/testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval02.c 4944 <\test_location> 4945<\testname> 4946<testname=sched_rr_get_interval03> 4947 <description> 4948 Tests for error conditions 4949 4950 <\description> 4951 <test_location> 4952 ltp/testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval03.c 4953 <\test_location> 4954<\testname> 4955<testname=sched_setparam01> 4956 <description> 4957 Basic test for sched_setparam(2) 4958 4959 <\description> 4960 <test_location> 4961 ltp/testcases/kernel/syscalls/sched_setparam/sched_setparam01.c 4962 <\test_location> 4963<\testname> 4964<testname=sched_setparam02> 4965 <description> 4966 Checks functionality for sched_setparam(2) 4967 4968 <\description> 4969 <test_location> 4970 ltp/testcases/kernel/syscalls/sched_setparam/sched_setparam02.c 4971 <\test_location> 4972<\testname> 4973<testname=sched_setparam03> 4974 <description> 4975 Checks functionality for sched_setparam(2) for pid!=0 4976 4977 <\description> 4978 <test_location> 4979 ltp/testcases/kernel/syscalls/sched_setparam/sched_setparam03.c 4980 <\test_location> 4981<\testname> 4982<testname=sched_setparam04> 4983 <description> 4984 Testing error conditions for sched_setparam(2) 4985 4986 <\description> 4987 <test_location> 4988 ltp/testcases/kernel/syscalls/sched_setparam/sched_setparam04.c 4989 <\test_location> 4990<\testname> 4991<testname=sched_setparam05> 4992 <description> 4993 Verify that sched_setparam() fails if the user does 4994 4995 <\description> 4996 <test_location> 4997 ltp/testcases/kernel/syscalls/sched_setparam/sched_setparam05.c 4998 <\test_location> 4999<\testname> 5000<testname=sched_setscheduler01> 5001 <description> 5002 Testcase to test whether sched_setscheduler(2) sets the errnos 5003 correctly. 5004 5005 <\description> 5006 <test_location> 5007 ltp/testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler01.c 5008 <\test_location> 5009<\testname> 5010<testname=sched_setscheduler02> 5011 <description> 5012 Testcase to test whether sched_setscheduler(2) sets the errnos 5013 correctly. 5014 5015 <\description> 5016 <test_location> 5017 ltp/testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler02.c 5018 <\test_location> 5019<\testname> 5020<testname=sched_yield01> 5021 <description> 5022 Testcase to check that sched_yield returns correct values. 5023 5024 <\description> 5025 <test_location> 5026 ltp/testcases/kernel/syscalls/sched_yield/sched_yield01.c 5027 <\test_location> 5028<\testname> 5029<testname=select01> 5030 <description> 5031 Basic test for the select(2) system call to a fd of regular file with no I/O 5032 and small timeout 5033 5034 <\description> 5035 <test_location> 5036 ltp/testcases/kernel/syscalls/select/select01.c 5037 <\test_location> 5038<\testname> 5039<testname=select02> 5040 <description> 5041 Basic test for the select(2) system call to fd of system pipe with no I/O 5042 and small timeout 5043 5044 <\description> 5045 <test_location> 5046 ltp/testcases/kernel/syscalls/select/select02.c 5047 <\test_location> 5048<\testname> 5049<testname=select03> 5050 <description> 5051 Basic test for the select(2) system call to fd of a named-pipe (FIFO) 5052 5053 <\description> 5054 <test_location> 5055 ltp/testcases/kernel/syscalls/select/select03.c 5056 <\test_location> 5057<\testname> 5058<testname=select04> 5059 <description> 5060 Verify that select(2) returns immediately (does not block) if the 5061 timeout value is zero. 5062 5063 <\description> 5064 <test_location> 5065 <\test_location> 5066<\testname> 5067<testname=select05> 5068 <description> 5069 Verify that select(2) fails when one or more of the file descriptor sets 5070 specify a file descriptor which is not valid. 5071 5072 <\description> 5073 <test_location> 5074 <\test_location> 5075<\testname> 5076<testname=select06> 5077 <description> 5078 Verify that select(2) fails when a signal is delivered before any of the 5079 selected events occur and before the timeout interval expires. 5080 5081 <\description> 5082 <test_location> 5083 <\test_location> 5084<\testname> 5085<testname=select07> 5086 <description> 5087 Verify that select(2) fails when an invalid timeout interval is specified. 5088 5089 <\description> 5090 <test_location> 5091 <\test_location> 5092<\testname> 5093<testname=select08> 5094 <description> 5095 Verify the functionality of select(2) by passing non-null writefds 5096 which points to a regular file, pipes or FIFO's. 5097 5098 <\description> 5099 <test_location> 5100 <\test_location> 5101<\testname> 5102<testname=select09> 5103 <description> 5104 Verify the functionality of select(2) by passing non-null readfds 5105 which points to a regular file, pipes or FIFO's. 5106 5107 <\description> 5108 <test_location> 5109 <\test_location> 5110<\testname> 5111<testname=select10> 5112 <description> 5113 Verify that a successful call to select() shall return the desired 5114 number of modified descriptors for which bits are set in the bit masks, 5115 where descriptors points to a regular file, pipes or FIFO's. 5116 5117 <\description> 5118 <test_location> 5119 <\test_location> 5120<\testname> 5121<testname=send01> 5122 <description> 5123 Verify that send() returns the proper errno for various failure cases 5124 5125 <\description> 5126 <test_location> 5127 ltp/testcases/kernel/syscalls/send/send01.c 5128 <\test_location> 5129<\testname> 5130<testname=sendfile02> 5131 <description> 5132 Testcase to test the basic functionality of the sendfile(2) system call. 5133 5134 <\description> 5135 <test_location> 5136 ltp/testcases/kernel/syscalls/sendfile/sendfile02.c 5137 <\test_location> 5138<\testname> 5139<testname=sendfile03> 5140 <description> 5141 Testcase to test that sendfile(2) system call returns appropriete 5142 errnos on error. 5143 5144 <\description> 5145 <test_location> 5146 ltp/testcases/kernel/syscalls/sendfile/sendfile03.c 5147 <\test_location> 5148<\testname> 5149<testname=sendmsg01> 5150 <description> 5151 Verify that sendmsg() returns the proper errno for various failure cases 5152 5153 <\description> 5154 <test_location> 5155 ltp/testcases/kernel/syscalls/sendmsg/sendmsg01.c 5156 <\test_location> 5157<\testname> 5158<testname=sendto01> 5159 <description> 5160 Verify that sendto() returns the proper errno for various failure cases 5161 5162 <\description> 5163 <test_location> 5164 ltp/testcases/kernel/syscalls/sendto/sendto01.c 5165 <\test_location> 5166<\testname> 5167<testname=setdomainname01> 5168 <description> 5169 Basic test for setdomainame(2) 5170 5171 <\description> 5172 <test_location> 5173 ltp/testcases/kernel/syscalls/setdomainname/setdomainname01.c 5174 <\test_location> 5175<\testname> 5176<testname=setdomainname02> 5177 <description> 5178 Test for checking error conditions for setdomainame(2) 5179 5180 <\description> 5181 <test_location> 5182 ltp/testcases/kernel/syscalls/setdomainname/setdomainname02.c 5183 <\test_location> 5184<\testname> 5185<testname=setdomainname03> 5186 <description> 5187 Test for EPERM error value when run as non superuser 5188 5189 <\description> 5190 <test_location> 5191 ltp/testcases/kernel/syscalls/setdomainname/setdomainname03.c 5192 <\test_location> 5193<\testname> 5194<testname=setegid01> 5195 <description> 5196 Verify that setegid does not modify the saved gid or real gid. 5197 5198 <\description> 5199 <test_location> 5200 ltp/testcases/kernel/syscalls/setegid/setegid01.c 5201 <\test_location> 5202<\testname> 5203<testname=setfsgid01> 5204 <description> 5205 Testcase to check the basic functionality of setfsgid(2) system 5206 call. 5207 5208 <\description> 5209 <test_location> 5210 ltp/testcases/kernel/syscalls/setfsgid/setfsgid01.c 5211 <\test_location> 5212<\testname> 5213<testname=setfsuid01> 5214 <description> 5215 Testcase to test the basic functionality of the setfsuid(2) system 5216 call. 5217 5218 <\description> 5219 <test_location> 5220 ltp/testcases/kernel/syscalls/setfsuid/setfsuid01.c 5221 <\test_location> 5222<\testname> 5223<testname=setgid01> 5224 <description> 5225 Basic test for the setgid(2) system call. 5226 5227 <\description> 5228 <test_location> 5229 ltp/testcases/kernel/syscalls/setgid/setgid01.c 5230 <\test_location> 5231<\testname> 5232<testname=setgid02> 5233 <description> 5234 Testcase to ensure that the setgid() system call sets errno to EPERM 5235 5236 <\description> 5237 <test_location> 5238 ltp/testcases/kernel/syscalls/setgid/setgid02.c 5239 <\test_location> 5240<\testname> 5241<testname=setgroups01> 5242 <description> 5243 Basic test for the setgroups(2) system call. 5244 5245 <\description> 5246 <test_location> 5247 ltp/testcases/kernel/syscalls/setgroups/setgroups01.c 5248 <\test_location> 5249<\testname> 5250<testname=setgroups02> 5251 <description> 5252 Verify that, 5253 1. setgroups() fails with -1 and sets errno to EINVAL if the size 5254 argument value is > NGROUPS 5255 2. setgroups() fails with -1 and sets errno to EPERM if the 5256 calling process is not super-user. 5257 5258 <\description> 5259 <test_location> 5260 ltp/testcases/kernel/syscalls/setgroups/setgroups02.c 5261 <\test_location> 5262<\testname> 5263<testname=setgroups03> 5264 <description> 5265 Verify that, only root process can invoke setgroups() system call to 5266 set the supplementary group IDs of the process. 5267 5268 <\description> 5269 <test_location> 5270 ltp/testcases/kernel/syscalls/setgroups/setgroups03.c 5271 <\test_location> 5272<\testname> 5273<testname=setitimer01> 5274 <description> 5275 check that a resonable setitimer() call succeeds. 5276 5277 <\description> 5278 <test_location> 5279 ltp/testcases/kernel/syscalls/setitimer/setitimer01.c 5280 <\test_location> 5281<\testname> 5282<testname=setitimer02> 5283 <description> 5284 check that a setitimer() call fails as expected 5285 with incorrect values. 5286 5287 <\description> 5288 <test_location> 5289 ltp/testcases/kernel/syscalls/setitimer/setitimer02.c 5290 <\test_location> 5291<\testname> 5292<testname=setitimer03> 5293 <description> 5294 check that a setitimer() call fails as expected 5295 with incorrect values. 5296 5297 <\description> 5298 <test_location> 5299 ltp/testcases/kernel/syscalls/setitimer/setitimer03.c 5300 <\test_location> 5301<\testname> 5302<testname=setpgid01> 5303 <description> 5304 Basic test for setpgid(2) system call. 5305 5306 <\description> 5307 <test_location> 5308 ltp/testcases/kernel/syscalls/setpgid/setpgid01.c 5309 <\test_location> 5310<\testname> 5311<testname=setpgid02> 5312 <description> 5313 Testcase to check that setpgid() sets errno correctly. 5314 5315 <\description> 5316 <test_location> 5317 ltp/testcases/kernel/syscalls/setpgid/setpgid02.c 5318 <\test_location> 5319<\testname> 5320<testname=setpgid03> 5321 <description> 5322 Test to check the error and trivial conditions in setpgid system call 5323 5324 <\description> 5325 <test_location> 5326 ltp/testcases/kernel/syscalls/setpgid/setpgid03.c 5327 <\test_location> 5328<\testname> 5329<testname=setpgrp01> 5330 <description> 5331 Basic test for the setpgrp(2) system call. 5332 5333 <\description> 5334 <test_location> 5335 ltp/testcases/kernel/syscalls/setpgrp/setpgrp01.c 5336 <\test_location> 5337<\testname> 5338<testname=setpgrp02> 5339 <description> 5340 Testcase to check the basic functionality of the setpgrp(2) syscall. 5341 5342 <\description> 5343 <test_location> 5344 ltp/testcases/kernel/syscalls/setpgrp/setpgrp02.c 5345 <\test_location> 5346<\testname> 5347<testname=setpriority01> 5348 <description> 5349 set the priority for the test process lower. 5350 5351 <\description> 5352 <test_location> 5353 ltp/testcases/kernel/syscalls/setpriority/setpriority01.c 5354 <\test_location> 5355<\testname> 5356<testname=setpriority02> 5357 <description> 5358 test for an expected failure by trying to raise 5359 the priority for the test process while not having 5360 permissions to do so. 5361 5362 <\description> 5363 <test_location> 5364 ltp/testcases/kernel/syscalls/setpriority/setpriority02.c 5365 <\test_location> 5366<\testname> 5367<testname=setpriority03> 5368 <description> 5369 test for an expected failure by using an invalid 5370 PRIO value 5371 setpriority04 5372 5373 <\description> 5374 <test_location> 5375 ltp/testcases/kernel/syscalls/setpriority/setpriority03.c 5376 <\test_location> 5377<\testname> 5378<testname=setpriority04> 5379 <description> 5380 test for an expected failure by using an invalid 5381 process id 5382 5383 <\description> 5384 <test_location> 5385 ltp/testcases/kernel/syscalls/setpriority/setpriority04.c 5386 <\test_location> 5387<\testname> 5388<testname=setpriority05> 5389 <description> 5390 test for an expected failure by trying to change 5391 a process with an ID that is different from the 5392 test process 5393 5394 <\description> 5395 <test_location> 5396 ltp/testcases/kernel/syscalls/setpriority/setpriority05.c 5397 <\test_location> 5398<\testname> 5399<testname=setregid01> 5400 <description> 5401 Basic test for the setregid(2) system call. 5402 5403 <\description> 5404 <test_location> 5405 ltp/testcases/kernel/syscalls/setregid/setregid01.c 5406 <\test_location> 5407<\testname> 5408<testname=setregid02> 5409 <description> 5410 Test that setregid() fails and sets the proper errno values when a 5411 non-root user attemps to change the real or effective group id to a 5412 value other than the current gid or the current effective gid. 5413 5414 <\description> 5415 <test_location> 5416 ltp/testcases/kernel/syscalls/setregid/setregid02.c 5417 <\test_location> 5418<\testname> 5419<testname=setregid03> 5420 <description> 5421 Test setregid() when executed by a non-root user. 5422 5423 <\description> 5424 <test_location> 5425 ltp/testcases/kernel/syscalls/setregid/setregid03.c 5426 <\test_location> 5427<\testname> 5428<testname=setregid04> 5429 <description> 5430 Test setregid() when executed by root. 5431 5432 <\description> 5433 <test_location> 5434 ltp/testcases/kernel/syscalls/setregid/setregid04.c 5435 <\test_location> 5436<\testname> 5437<testname=setresgid01> 5438 <description> 5439 Checks functionality of setresgid(2) 5440 5441 <\description> 5442 <test_location> 5443 ltp/testcases/kernel/syscalls/setresgid/setresgid01.c 5444 <\test_location> 5445<\testname> 5446<testname=setresgid02> 5447 <description> 5448 Checks functionality of setresgid(2) for non-root group id. 5449 5450 <\description> 5451 <test_location> 5452 ltp/testcases/kernel/syscalls/setresgid/setresgid02.c 5453 <\test_location> 5454<\testname> 5455<testname=setresgid03> 5456 <description> 5457 Checks error conditions for setresgid(2) 5458 5459 <\description> 5460 <test_location> 5461 ltp/testcases/kernel/syscalls/setresgid/setresgid03.c 5462 <\test_location> 5463<\testname> 5464<testname=setresuid01> 5465 <description> 5466 Test setresuid() when executed by root. 5467 5468 <\description> 5469 <test_location> 5470 ltp/testcases/kernel/syscalls/setresuid/setresuid01.c 5471 <\test_location> 5472<\testname> 5473<testname=setresuid02> 5474 <description> 5475 Test that a non-root user can change the real, effective and saved 5476 uid values through the setresuid system call. 5477 5478 <\description> 5479 <test_location> 5480 ltp/testcases/kernel/syscalls/setresuid/setresuid02.c 5481 <\test_location> 5482<\testname> 5483<testname=setresuid03> 5484 <description> 5485 Test that the setresuid system call sets the proper errno 5486 values when a non-root user attempts to change the real, effective or 5487 saved uid to a value other than one of the current uid, the current 5488 effective uid of the current saved uid. Also verify that setresuid 5489 fails if an invalid uid value is given. 5490 5491 <\description> 5492 <test_location> 5493 ltp/testcases/kernel/syscalls/setresuid/setresuid03.c 5494 <\test_location> 5495<\testname> 5496<testname=setreuid01> 5497 <description> 5498 Basic test for the setreuid(2) system call. 5499 5500 <\description> 5501 <test_location> 5502 ltp/testcases/kernel/syscalls/setreuid/setreuid01.c 5503 <\test_location> 5504<\testname> 5505<testname=setreuid02> 5506 <description> 5507 Test setreuid() when executed by root. 5508 5509 <\description> 5510 <test_location> 5511 ltp/testcases/kernel/syscalls/setreuid/setreuid02.c 5512 <\test_location> 5513<\testname> 5514<testname=setreuid03> 5515 <description> 5516 Test setreuid() when executed by an unpriviledged user. 5517 5518 <\description> 5519 <test_location> 5520 ltp/testcases/kernel/syscalls/setreuid/setreuid03.c 5521 <\test_location> 5522<\testname> 5523<testname=setreuid04> 5524 <description> 5525 Test that root can change the real and effective uid to an 5526 unpriviledged user. 5527 5528 <\description> 5529 <test_location> 5530 ltp/testcases/kernel/syscalls/setreuid/setreuid04.c 5531 <\test_location> 5532<\testname> 5533<testname=setreuid05> 5534 <description> 5535 Test the setreuid() feature, verifying the role of the saved-set-uid 5536 and setreuid's effect on it. 5537 5538 <\description> 5539 <test_location> 5540 ltp/testcases/kernel/syscalls/setreuid/setreuid05.c 5541 <\test_location> 5542<\testname> 5543<testname=setreuid06> 5544 <description> 5545 Test that EINVAL is set when setreuid is given an invalid user id. 5546 5547 <\description> 5548 <test_location> 5549 ltp/testcases/kernel/syscalls/setreuid/setreuid06.c 5550 <\test_location> 5551<\testname> 5552<testname=setrlimit01> 5553 <description> 5554 Testcase to check the basic functionality of the setrlimit system call. 5555 5556 <\description> 5557 <test_location> 5558 ltp/testcases/kernel/syscalls/setrlimit/setrlimit01.c 5559 <\test_location> 5560<\testname> 5561<testname=setrlimit02> 5562 <description> 5563 Testcase to test the different errnos set by setrlimit(2) system call. 5564 5565 <\description> 5566 <test_location> 5567 ltp/testcases/kernel/syscalls/setrlimit/setrlimit02.c 5568 <\test_location> 5569<\testname> 5570<testname=setrlimit03> 5571 <description> 5572 Test for EPERM when the super-user tries to increase RLIMIT_NOFILE 5573 beyond the system limit. 5574 5575 <\description> 5576 <test_location> 5577 ltp/testcases/kernel/syscalls/setrlimit/setrlimit03.c 5578 <\test_location> 5579<\testname> 5580<testname=setsid01> 5581 <description> 5582 Test to check the error and trivial conditions in setsid system call 5583 5584 <\description> 5585 <test_location> 5586 ltp/testcases/kernel/syscalls/setsid/setsid01.c 5587 <\test_location> 5588<\testname> 5589<testname=setsockopt01> 5590 <description> 5591 Verify that setsockopt() returns the proper errno for various failure cases 5592 5593 <\description> 5594 <test_location> 5595 ltp/testcases/kernel/syscalls/setsockopt/setsockopt01.c 5596 <\test_location> 5597<\testname> 5598<testname=settimeofday01> 5599 <description> 5600 Testcase to check the basic functionality of settimeofday(). 5601 5602 <\description> 5603 <test_location> 5604 ltp/testcases/kernel/syscalls/settimeofday/settimeofday01.c 5605 <\test_location> 5606<\testname> 5607<testname=settimeofday02> 5608 <description> 5609 Testcase to check that settimeofday() sets errnos correctly. 5610 5611 <\description> 5612 <test_location> 5613 ltp/testcases/kernel/syscalls/settimeofday/settimeofday02.c 5614 <\test_location> 5615<\testname> 5616<testname=setuid01> 5617 <description> 5618 Basic test for the setuid(2) system call. 5619 5620 <\description> 5621 <test_location> 5622 ltp/testcases/kernel/syscalls/setuid/setuid01.c 5623 <\test_location> 5624<\testname> 5625<testname=setuid02> 5626 <description> 5627 Basic test for the setuid(2) system call as root. 5628 5629 <\description> 5630 <test_location> 5631 ltp/testcases/kernel/syscalls/setuid/setuid02.c 5632 <\test_location> 5633<\testname> 5634<testname=setuid03> 5635 <description> 5636 Test to check the error and trivial conditions in setuid 5637 5638 <\description> 5639 <test_location> 5640 ltp/testcases/kernel/syscalls/setuid/setuid03.c 5641 <\test_location> 5642<\testname> 5643<testname=sigaction01> 5644 <description> 5645 Test some features of sigaction (see below for more details) 5646 5647 <\description> 5648 <test_location> 5649 ltp/testcases/kernel/syscalls/sigaction/sigaction01.c 5650 <\test_location> 5651<\testname> 5652<testname=sigaction02> 5653 <description> 5654 Testcase to check the basic errnos set by the sigaction(2) syscall. 5655 5656 <\description> 5657 <test_location> 5658 ltp/testcases/kernel/syscalls/sigaction/sigaction02.c 5659 <\test_location> 5660<\testname> 5661<testname=sigaltstack01> 5662 <description> 5663 Send a signal using the main stack. While executing the signal handler 5664 compare a variable's address lying on the main stack with the stack 5665 boundaries returned by sigaltstack(). 5666 5667 <\description> 5668 <test_location> 5669 ltp/testcases/kernel/syscalls/sigaltstack/sigaltstack01.c 5670 <\test_location> 5671<\testname> 5672<testname=sigaltstack02> 5673 <description> 5674 Verify that, 5675 1. sigaltstack() fails and sets errno to EINVAL when "ss_flags" field 5676 pointed to by 'ss' contains invalid flags. 5677 2. sigaltstack() fails and sets errno to ENOMEM when the size of alternate 5678 stack area is less than MINSIGSTKSZ. 5679 5680 <\description> 5681 <test_location> 5682 ltp/testcases/kernel/syscalls/sigaltstack/sigaltstack02.c 5683 <\test_location> 5684<\testname> 5685<testname=sighold02> 5686 <description> 5687 Basic test for the sighold02(2) system call. 5688 5689 <\description> 5690 <test_location> 5691 ltp/testcases/kernel/syscalls/sighold/sighold02.c 5692 <\test_location> 5693<\testname> 5694<testname=signal01> 5695 <description> 5696 set the signal handler to our own function 5697 5698 <\description> 5699 <test_location> 5700 ltp/testcases/kernel/syscalls/signal/signal01.c 5701 <\test_location> 5702<\testname> 5703<testname=signal02> 5704 <description> 5705 Test that we get an error using illegal signals 5706 5707 <\description> 5708 <test_location> 5709 ltp/testcases/kernel/syscalls/signal/signal02.c 5710 <\test_location> 5711<\testname> 5712<testname=signal03> 5713 <description> 5714 Boundary value and other invalid value checking of signal setup and signal 5715 sending. 5716 5717 <\description> 5718 <test_location> 5719 ltp/testcases/kernel/syscalls/signal/signal03.c 5720 <\test_location> 5721<\testname> 5722<testname=signal04> 5723 <description> 5724 restore signals to default behavior 5725 5726 <\description> 5727 <test_location> 5728 ltp/testcases/kernel/syscalls/signal/signal04.c 5729 <\test_location> 5730<\testname> 5731<testname=signal03> 5732 <description> 5733 set signals to be ignored 5734 5735 <\description> 5736 <test_location> 5737 ltp/testcases/kernel/syscalls/signal/signal03.c 5738 <\test_location> 5739<\testname> 5740<testname=sigpending02> 5741 <description> 5742 Test to see that the proper errors are returned by sigpending. 5743 5744 <\description> 5745 <test_location> 5746 ltp/testcases/kernel/syscalls/sigpending/sigpending02.c 5747 <\test_location> 5748<\testname> 5749<testname=sigprocmask01> 5750 <description> 5751 Verify that sigprocmask() succeeds to examine and change the calling 5752 process's signal mask. 5753 Also, verify that sigpending() succeeds to store signal mask that are 5754 blocked from delivery and pending for the calling process. 5755 5756 <\description> 5757 <test_location> 5758 ltp/testcases/kernel/syscalls/sigprocmask/sigprocmask01.c 5759 <\test_location> 5760<\testname> 5761<testname=sigrelse01> 5762 <description> 5763 Basic test for the sigrelse(2) system call. 5764 5765 <\description> 5766 <test_location> 5767 ltp/testcases/kernel/syscalls/sigrelse/sigrelse01.c 5768 <\test_location> 5769<\testname> 5770<testname=sigsuspend01> 5771 <description> 5772 Verify that sigsuspend() succeeds to change process's current signal 5773 mask with the specified signal mask and suspends the process execution 5774 until the delivery of a signal. 5775 5776 <\description> 5777 <test_location> 5778 ltp/testcases/kernel/syscalls/sigsuspend/sigsuspend01.c 5779 <\test_location> 5780<\testname> 5781<testname=socket01> 5782 <description> 5783 Verify that socket() returns the proper errno for various failure cases 5784 5785 <\description> 5786 <test_location> 5787 ltp/testcases/kernel/syscalls/socket/socket01.c 5788 <\test_location> 5789<\testname> 5790<testname=socketcall01> 5791 <description> 5792 Basic test for socketcall(2) for socket(2) 5793 5794 <\description> 5795 <test_location> 5796 ltp/testcases/kernel/syscalls/socketcall/socketcall01.c 5797 <\test_location> 5798<\testname> 5799<testname=socketcall02> 5800 <description> 5801 Error test for socketcall(2) 5802 5803 <\description> 5804 <test_location> 5805 ltp/testcases/kernel/syscalls/socketcall/socketcall02.c 5806 <\test_location> 5807<\testname> 5808<testname=socketcall03> 5809 <description> 5810 Basic test for socketcall(2) for bind(2) 5811 5812 <\description> 5813 <test_location> 5814 ltp/testcases/kernel/syscalls/socketcall/socketcall03.c 5815 <\test_location> 5816<\testname> 5817<testname=socketcall04> 5818 <description> 5819 Basic test for socketcall(2) for listen(2) 5820 5821 <\description> 5822 <test_location> 5823 ltp/testcases/kernel/syscalls/socketcall/socketcall04.c 5824 <\test_location> 5825<\testname> 5826<testname=socketpair01> 5827 <description> 5828 Verify that socketpair() returns the proper errno for various 5829 failure cases 5830 5831 <\description> 5832 <test_location> 5833 ltp/testcases/kernel/syscalls/socketpair/socketpair01.c 5834 <\test_location> 5835<\testname> 5836<testname=socketpair01> 5837 <description> 5838 Verify that socketpair() returns the proper errno for various failure cases 5839 5840 <\description> 5841 <test_location> 5842 ltp/testcases/kernel/syscalls/socketpair/socketpair01.c 5843 <\test_location> 5844<\testname> 5845<testname=sockioctl01> 5846 <description> 5847 Verify that ioctl() on sockets returns the proper errno for various 5848 failure cases 5849 5850 <\description> 5851 <test_location> 5852 ltp/testcases/kernel/syscalls/sockioctl/sockioctl01.c 5853 <\test_location> 5854<\testname> 5855<testname=stat01> 5856 <description> 5857 Verify that, stat(2) succeeds to get the status of a file and fills the 5858 stat structure elements. 5859 5860 <\description> 5861 <test_location> 5862 ltp/testcases/kernel/syscalls/stat/stat01.c 5863 <\test_location> 5864<\testname> 5865<testname=stat02> 5866 <description> 5867 Verify that, stat(2) succeeds to get the status of a file and fills the 5868 stat structure elements though process doesn't have read access to the 5869 file. 5870 5871 <\description> 5872 <test_location> 5873 ltp/testcases/kernel/syscalls/stat/stat02.c 5874 <\test_location> 5875<\testname> 5876<testname=stat03> 5877 <description> 5878 Verify that, 5879 1) stat(2) returns -1 and sets errno to EACCES if search permission is 5880 denied on a component of the path prefix. 5881 2) stat(2) returns -1 and sets errno to ENOENT if the specified file 5882 does not exists or empty string. 5883 3) stat(2) returns -1 and sets errno to EFAULT if pathname points 5884 outside user's accessible address space. 5885 4) stat(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 5886 component is too long. 5887 5) stat(2) returns -1 and sets errno to ENOTDIR if the directory 5888 component in pathname is not a directory. 5889 5890 <\description> 5891 <test_location> 5892 ltp/testcases/kernel/syscalls/stat/stat03.c 5893 <\test_location> 5894<\testname> 5895<testname=stat05> 5896 <description> 5897 Basic test for the stat05(2) system call. 5898 5899 <\description> 5900 <test_location> 5901 ltp/testcases/kernel/syscalls/stat/stat05.c 5902 <\test_location> 5903<\testname> 5904<testname=statfs01> 5905 <description> 5906 Basic test for the statfs(2) system call. 5907 5908 <\description> 5909 <test_location> 5910 ltp/testcases/kernel/syscalls/statfs/statfs01.c 5911 <\test_location> 5912<\testname> 5913<testname=statfs02> 5914 <description> 5915 Testcase to check that statfs(2) sets errno correctly. 5916 5917 <\description> 5918 <test_location> 5919 ltp/testcases/kernel/syscalls/statfs/statfs02.c 5920 <\test_location> 5921<\testname> 5922<testname=stime01> 5923 <description> 5924 Verify that the system call stime() successfully sets the system's idea 5925 of data and time if invoked by "root" user. 5926 5927 <\description> 5928 <test_location> 5929 ltp/testcases/kernel/syscalls/stime/stime01.c 5930 <\test_location> 5931<\testname> 5932<testname=stime02> 5933 <description> 5934 Verify that the system call stime() fails to set the system's idea 5935 of data and time if invoked by "non-root" user. 5936 5937 <\description> 5938 <test_location> 5939 ltp/testcases/kernel/syscalls/stime/stime02.c 5940 <\test_location> 5941<\testname> 5942<testname=string01> 5943 <description> 5944 Test string functions. 5945 5946 <\description> 5947 <test_location> 5948 ltp/testcases/kernel/syscalls/string/string01.c 5949 <\test_location> 5950<\testname> 5951<testname=swapoff01> 5952 <description> 5953 Basic test for swapoff(2) 5954 5955 <\description> 5956 <test_location> 5957 ltp/testcases/kernel/syscalls/swapoff/swapoff01.c 5958 <\test_location> 5959<\testname> 5960<testname=swapoff02> 5961 <description> 5962 Test checking for basic error conditions 5963 5964 <\description> 5965 <test_location> 5966 ltp/testcases/kernel/syscalls/swapoff/swapoff02.c 5967 <\test_location> 5968<\testname> 5969<testname=swapon01> 5970 <description> 5971 Basic test for swapon(2) 5972 5973 <\description> 5974 <test_location> 5975 ltp/testcases/kernel/syscalls/swapon/swapon01.c 5976 <\test_location> 5977<\testname> 5978<testname=swapon02> 5979 <description> 5980 Test checking for basic error conditions 5981 5982 <\description> 5983 <test_location> 5984 ltp/testcases/kernel/syscalls/swapon/swapon02.c 5985 <\test_location> 5986<\testname> 5987<testname=symlink01> 5988 <description> 5989 Test of various file function calls, such as rename or open, on a symbolic 5990 link file. 5991 5992 <\description> 5993 <test_location> 5994 ltp/testcases/kernel/syscalls/symlink/symlink01.c 5995 <\test_location> 5996<\testname> 5997<testname=symlink02> 5998 <description> 5999 Basic test for the symlink(2) system call. 6000 6001 <\description> 6002 <test_location> 6003 ltp/testcases/kernel/syscalls/symlink/symlink02.c 6004 <\test_location> 6005<\testname> 6006<testname=symlink03> 6007 <description> 6008 Verify that, 6009 1) symlink(2) returns -1 and sets errno to EACCES if search/write 6010 permission is denied in the directory where the symbolic link is 6011 being created. 6012 2) symlink(2) returns -1 and sets errno to EEXIST if the specified 6013 symbolic link already exists. 6014 3) symlink(2) returns -1 and sets errno to EFAULT if the specified 6015 file or symbolic link points to invalid address. 6016 4) symlink(2) returns -1 and sets errno to ENAMETOOLONG if the 6017 pathname component of symbolic link is too long (ie, > PATH_MAX). 6018 5) symlink(2) returns -1 and sets errno to ENOTDIR if the directory 6019 component in pathname of symbolic link is not a directory. 6020 6) symlink(2) returns -1 and sets errno to ENOENT if the component of 6021 symbolic link points to an empty string. 6022 6023 <\description> 6024 <test_location> 6025 ltp/testcases/kernel/syscalls/symlink/symlink03.c 6026 <\test_location> 6027<\testname> 6028<testname=symlink04> 6029 <description> 6030 Verify that, symlink will succeed to creat a symbolic link of an existing 6031 object name path. 6032 6033 <\description> 6034 <test_location> 6035 ltp/testcases/kernel/syscalls/symlink/symlink04.c 6036 <\test_location> 6037<\testname> 6038<testname=symlink05> 6039 <description> 6040 Verify that, symlink will succeed to creat a symbolic link of an 6041 non-existing object name path. 6042 6043 <\description> 6044 <test_location> 6045 ltp/testcases/kernel/syscalls/symlink/symlink05.c 6046 <\test_location> 6047<\testname> 6048<testname=sync01> 6049 <description> 6050 Basic test for the sync(2) system call. 6051 6052 <\description> 6053 <test_location> 6054 ltp/testcases/kernel/syscalls/sync/sync01.c 6055 <\test_location> 6056<\testname> 6057<testname=sync02> 6058 <description> 6059 Open a file for write; modify the file, then do a sync(). 6060 Verify that the data has been written to disk by re-opening the file. 6061 6062 <\description> 6063 <test_location> 6064 ltp/testcases/kernel/syscalls/sync/sync02.c 6065 <\test_location> 6066<\testname> 6067<testname=syscall01> 6068 <description> 6069 Basic test for the syscall() system call. 6070 6071 <\description> 6072 <test_location> 6073 ltp/testcases/kernel/syscalls/syscall/syscall01.c 6074 <\test_location> 6075<\testname> 6076<testname=sysconf01> 6077 <description> 6078 Basic test for the sysconf() system call. 6079 6080 <\description> 6081 <test_location> 6082 ltp/testcases/kernel/syscalls/sysconf/sysconf01.c 6083 <\test_location> 6084<\testname> 6085<testname=sysctl01> 6086 <description> 6087 Testcase for testing the basic functionality of sysctl(2) system call. 6088 This testcase attempts to read the kernel parameters using 6089 sysctl({CTL_KERN, KERN_ }, ...) and compares it with the known 6090 values. 6091 6092 <\description> 6093 <test_location> 6094 ltp/testcases/kernel/syscalls/sysctl/sysctl01.c 6095 <\test_location> 6096<\testname> 6097<testname=sysctl03> 6098 <description> 6099 Testcase to check that sysctl(2) sets errno to EPERM correctly. 6100 6101 <\description> 6102 <test_location> 6103 ltp/testcases/kernel/syscalls/sysctl/sysctl03.c 6104 <\test_location> 6105<\testname> 6106<testname=sysctl04> 6107 <description> 6108 Testcase to check that sysctl(2) sets errno to ENOTDIR 6109 6110 <\description> 6111 <test_location> 6112 ltp/testcases/kernel/syscalls/sysctl/sysctl04.c 6113 <\test_location> 6114<\testname> 6115<testname=sysctl05> 6116 <description> 6117 Testcase to check that sysctl(2) sets errno to EFAULT 6118 6119 <\description> 6120 <test_location> 6121 ltp/testcases/kernel/syscalls/sysctl/sysctl05.c 6122 <\test_location> 6123<\testname> 6124<testname=sysfs01> 6125 <description> 6126 Basic test for sysfs(2) 6127 6128 <\description> 6129 <test_location> 6130 ltp/testcases/kernel/syscalls/sysfs/sysfs01.c 6131 <\test_location> 6132<\testname> 6133<testname=sysfs02> 6134 <description> 6135 Basic test for sysfs(2) 6136 6137 <\description> 6138 <test_location> 6139 ltp/testcases/kernel/syscalls/sysfs/sysfs02.c 6140 <\test_location> 6141<\testname> 6142<testname=sysfs03> 6143 <description> 6144 Basic test for sysfs(2) 6145 6146 <\description> 6147 <test_location> 6148 ltp/testcases/kernel/syscalls/sysfs/sysfs03.c 6149 <\test_location> 6150<\testname> 6151<testname=sysfs04> 6152 <description> 6153 Test checking for basic error conditions 6154 6155 <\description> 6156 <test_location> 6157 ltp/testcases/kernel/syscalls/sysfs/sysfs04.c 6158 <\test_location> 6159<\testname> 6160<testname=sysfs05> 6161 <description> 6162 Test checking for basic error conditions 6163 6164 <\description> 6165 <test_location> 6166 ltp/testcases/kernel/syscalls/sysfs/sysfs05.c 6167 <\test_location> 6168<\testname> 6169<testname=sysfs06> 6170 <description> 6171 Test checking for basic error conditions 6172 6173 <\description> 6174 <test_location> 6175 ltp/testcases/kernel/syscalls/sysfs/sysfs06.c 6176 <\test_location> 6177<\testname> 6178<testname=sysinfo01> 6179 <description> 6180 Verify that sysinfo() succeeds to get the system information and fills 6181 the structure passed. 6182 6183 <\description> 6184 <test_location> 6185 ltp/testcases/kernel/syscalls/sysinfo/sysinfo01.c 6186 <\test_location> 6187<\testname> 6188<testname=sysinfo02> 6189 <description> 6190 Verify that sysinfo() returns the correct error for an invalid address structure. 6191 6192 <\description> 6193 <test_location> 6194 ltp/testcases/kernel/syscalls/sysinfo/sysinfo02.c 6195 <\test_location> 6196<\testname> 6197<testname=syslog01> 6198 <description> 6199 Test whether messages are logged to the specified file 6200 6201 <\description> 6202 <test_location> 6203 ltp/testcases/kernel/syscalls/syslog/syslog01 6204 <\test_location> 6205<\testname> 6206<testname=syslog02> 6207 <description> 6208 Test if messages of all levels are logged. 6209 6210 <\description> 6211 <test_location> 6212 ltp/testcases/kernel/syscalls/syslog/syslog02 6213 <\test_location> 6214<\testname> 6215<testname=syslog03> 6216 <description> 6217 Do openlog(), log the messages and see whether 6218 ident string is prepended to the message. 6219 6220 <\description> 6221 <test_location> 6222 ltp/testcases/kernel/syscalls/syslog/syslog03 6223 <\test_location> 6224<\testname> 6225<testname=syslog04> 6226 <description> 6227 Test the logging option: LOG_PID 6228 6229 <\description> 6230 <test_location> 6231 ltp/testcases/kernel/syscalls/syslog/syslog04 6232 <\test_location> 6233<\testname> 6234<testname=syslog05> 6235 <description> 6236 Test the logging option: LOG_CONS 6237 6238 <\description> 6239 <test_location> 6240 ltp/testcases/kernel/syscalls/syslog/syslog05 6241 <\test_location> 6242<\testname> 6243<testname=syslog06> 6244 <description> 6245 Test the logging option: LOG_NDELAY 6246 6247 <\description> 6248 <test_location> 6249 ltp/testcases/kernel/syscalls/syslog/syslog06 6250 <\test_location> 6251<\testname> 6252<testname=syslog07> 6253 <description> 6254 Test the priorities. 6255 6256 <\description> 6257 <test_location> 6258 ltp/testcases/kernel/syscalls/syslog/syslog07 6259 <\test_location> 6260<\testname> 6261<testname=syslog08> 6262 <description> 6263 Test all the facilities at a particular level. 6264 6265 <\description> 6266 <test_location> 6267 ltp/testcases/kernel/syscalls/syslog/syslog08 6268 <\test_location> 6269<\testname> 6270<testname=syslog09> 6271 <description> 6272 Test setlogmask() with LOG_UPTO macro. 6273 6274 <\description> 6275 <test_location> 6276 ltp/testcases/kernel/syscalls/syslog/syslog09 6277 <\test_location> 6278<\testname> 6279<testname=syslog10> 6280 <description> 6281 Test setlogmask() with LOG_MASK macro. 6282 6283 <\description> 6284 <test_location> 6285 ltp/testcases/kernel/syscalls/syslog/syslog10 6286 <\test_location> 6287<\testname> 6288<testname=syslog11> 6289 <description> 6290 Basic test for syslog() function call. 6291 6292 <\description> 6293 <test_location> 6294 ltp/testcases/kernel/syscalls/syslog/syslog11.c 6295 <\test_location> 6296<\testname> 6297<testname=syslog12> 6298 <description> 6299 Check error conditions for syscall(). 6300 6301 <\description> 6302 <test_location> 6303 ltp/testcases/kernel/syscalls/syslog/syslog12.c 6304 <\test_location> 6305<\testname> 6306<testname=time01> 6307 <description> 6308 Basic test for the time(2) system call. 6309 6310 <\description> 6311 <test_location> 6312 ltp/testcases/kernel/syscalls/time/time01.c 6313 <\test_location> 6314<\testname> 6315<testname=time02> 6316 <description> 6317 Verify that time(2) returns the value of time in seconds since 6318 the Epoch and stores this value in the memory pointed to by the parameter. 6319 6320 <\description> 6321 <test_location> 6322 ltp/testcases/kernel/syscalls/time/time02.c 6323 <\test_location> 6324<\testname> 6325<testname=times01> 6326 <description> 6327 Basic test for the times(2) system call. 6328 6329 <\description> 6330 <test_location> 6331 ltp/testcases/kernel/syscalls/times/times01.c 6332 <\test_location> 6333<\testname> 6334<testname=times03> 6335 <description> 6336 Testcase to check the basic functionality of the times() system call. 6337 6338 <\description> 6339 <test_location> 6340 ltp/testcases/kernel/syscalls/times/times03.c 6341 <\test_location> 6342<\testname> 6343<testname=truncate01> 6344 <description> 6345 Verify that, truncate(2) succeeds to truncate a file to a specified 6346 length. 6347 6348 <\description> 6349 <test_location> 6350 ltp/testcases/kernel/syscalls/truncate/truncate01.c 6351 <\test_location> 6352<\testname> 6353<testname=truncate02> 6354 <description> 6355 Verify that, truncate(2) succeeds to truncate a file to a certain length, 6356 but the attempt to read past the truncated length will fail. 6357 6358 <\description> 6359 <test_location> 6360 ltp/testcases/kernel/syscalls/truncate/truncate02.c 6361 <\test_location> 6362<\testname> 6363<testname=truncate03> 6364 <description> 6365 Verify that, 6366 1) truncate(2) returns -1 and sets errno to EACCES if search/write 6367 permission denied for the process on the component of the path prefix 6368 or named file. 6369 2) truncate(2) returns -1 and sets errno to ENOTDIR if the component of 6370 the path prefix is not a directory. 6371 3) truncate(2) returns -1 and sets errno to EFAULT if pathname points 6372 outside user's accessible address space. 6373 4) truncate(2) returns -1 and sets errno to ENAMETOOLONG if the component 6374 of a pathname exceeded 255 characters or entire pathname exceeds 1023 6375 characters. 6376 5) truncate(2) returns -1 and sets errno to ENOENT if the named file 6377 does not exist. 6378 6379 <\description> 6380 <test_location> 6381 ltp/testcases/kernel/syscalls/truncate/truncate03.c 6382 <\test_location> 6383<\testname> 6384<testname=ulimit01> 6385 <description> 6386 Basic test for the ulimit(2) system call. 6387 6388 <\description> 6389 <test_location> 6390 ltp/testcases/kernel/syscalls/ulimit/ulimit01.c 6391 <\test_location> 6392<\testname> 6393<testname=umask01> 6394 <description> 6395 Basic test for the umask(2) system call. 6396 6397 <\description> 6398 <test_location> 6399 ltp/testcases/kernel/syscalls/umask/umask01.c 6400 <\test_location> 6401<\testname> 6402<testname=umask02> 6403 <description> 6404 Check that umask changes the mask, and that the previous 6405 value of the mask is returned correctly for each value. 6406 6407 <\description> 6408 <test_location> 6409 ltp/testcases/kernel/syscalls/umask/umask02.c 6410 <\test_location> 6411<\testname> 6412<testname=umask03> 6413 <description> 6414 Check that umask changes the mask, and that the previous 6415 value of the mask is returned correctly for each value. 6416 6417 <\description> 6418 <test_location> 6419 ltp/testcases/kernel/syscalls/umask/umask03.c 6420 <\test_location> 6421<\testname> 6422<testname=umount01> 6423 <description> 6424 Basic test for umount(2) 6425 6426 <\description> 6427 <test_location> 6428 ltp/testcases/kernel/syscalls/umount/umount01.c 6429 <\test_location> 6430<\testname> 6431<testname=umount02> 6432 <description> 6433 Test for checking basic error conditions for umount(2) 6434 6435 <\description> 6436 <test_location> 6437 ltp/testcases/kernel/syscalls/umount/umount02.c 6438 <\test_location> 6439<\testname> 6440<testname=umount03> 6441 <description> 6442 Test for checking EPERM 6443 6444 <\description> 6445 <test_location> 6446 ltp/testcases/kernel/syscalls/umount/umount03.c 6447 <\test_location> 6448<\testname> 6449<testname=umount04> 6450 <description> 6451 Test for checking EACCES 6452 6453 <\description> 6454 <test_location> 6455 <\test_location> 6456<\testname> 6457<testname=uname01> 6458 <description> 6459 Basic test for the uname(2) system call. 6460 6461 <\description> 6462 <test_location> 6463 ltp/testcases/kernel/syscalls/uname/uname01.c 6464 <\test_location> 6465<\testname> 6466<testname=uname02> 6467 <description> 6468 Call uname() with an invalid address to produce a failure 6469 6470 <\description> 6471 <test_location> 6472 ltp/testcases/kernel/syscalls/uname/uname02.c 6473 <\test_location> 6474<\testname> 6475<testname=uname03> 6476 <description> 6477 Call uname() and make sure it succeeds 6478 6479 <\description> 6480 <test_location> 6481 ltp/testcases/kernel/syscalls/uname/uname03.c 6482 <\test_location> 6483<\testname> 6484<testname=unlink05> 6485 <description> 6486 Basic test for the unlink(2) system call. 6487 6488 <\description> 6489 <test_location> 6490 ltp/testcases/kernel/syscalls/unlink/unlink05.c 6491 <\test_location> 6492<\testname> 6493<testname=unlink06> 6494 <description> 6495 Test for the unlink(2) system call of a FIFO. 6496 6497 <\description> 6498 <test_location> 6499 ltp/testcases/kernel/syscalls/unlink/unlink06.c 6500 <\test_location> 6501<\testname> 6502<testname=unlink07> 6503 <description> 6504 Tests for error handling for the unlink(2) system call. 6505 6506 <\description> 6507 <test_location> 6508 ltp/testcases/kernel/syscalls/unlink/unlink07.c 6509 <\test_location> 6510<\testname> 6511<testname=unlink08> 6512 <description> 6513 More tests for error handling for the unlink(2) system call. 6514 6515 <\description> 6516 <test_location> 6517 ltp/testcases/kernel/syscalls/unlink/unlink08.c 6518 <\test_location> 6519<\testname> 6520<testname=ustat01> 6521 <description> 6522 Basic test for the ustat() system call. 6523 6524 <\description> 6525 <test_location> 6526 ltp/testcases/kernel/syscalls/ustat/ustat01.c 6527 <\test_location> 6528<\testname> 6529<testname=ustat02> 6530 <description> 6531 Test for error conditions of ustat(). 6532 6533 <\description> 6534 <test_location> 6535 ltp/testcases/kernel/syscalls/ustat/ustat02.c 6536 <\test_location> 6537<\testname> 6538<testname=utime01> 6539 <description> 6540 Verify that the system call utime() successfully sets the modification 6541 and access times of a file to the current time, if the times argument 6542 is null, and the user ID of the process is "root". 6543 6544 <\description> 6545 <test_location> 6546 ltp/testcases/kernel/syscalls/utime/utime01.c 6547 <\test_location> 6548<\testname> 6549<testname=utime02> 6550 <description> 6551 Verify that the system call utime() successfully sets the modification 6552 and access times of a file to the current time, under the following 6553 constraints, 6554 - The times argument is null. 6555 - The user ID of the process is not "root". 6556 - The file is owned by the user ID of the process. 6557 6558 <\description> 6559 <test_location> 6560 ltp/testcases/kernel/syscalls/utime/utime02.c 6561 <\test_location> 6562<\testname> 6563<testname=utime03> 6564 <description> 6565 Verify that the system call utime() successfully sets the modification 6566 and access times of a file to the current time, under the following 6567 constraints, 6568 - The times argument is null. 6569 - The user ID of the process is not "root". 6570 - The file is not owned by the user ID of the process. 6571 - The user ID of the process has write access to the file. 6572 6573 <\description> 6574 <test_location> 6575 ltp/testcases/kernel/syscalls/utime/utime03.c 6576 <\test_location> 6577<\testname> 6578<testname=utime04> 6579 <description> 6580 Verify that the system call utime() successfully sets the modification 6581 and access times of a file to the time specified by times argument, if 6582 the times argument is not null, and the user ID of the process is "root". 6583 6584 <\description> 6585 <test_location> 6586 ltp/testcases/kernel/syscalls/utime/utime04.c 6587 <\test_location> 6588<\testname> 6589<testname=utime05> 6590 <description> 6591 Verify that the system call utime() successfully sets the modification 6592 and access times of a file to the value specified by the times argument 6593 under the following constraints, 6594 - The times argument is not null, 6595 - The user ID of the process is not "root". 6596 - The file is owned by the user ID of the process. 6597 6598 <\description> 6599 <test_location> 6600 ltp/testcases/kernel/syscalls/utime/utime05.c 6601 <\test_location> 6602<\testname> 6603<testname=utime06> 6604 <description> 6605 1. Verify that the system call utime() fails to set the modification 6606 and access times of a file to the current time, under the following 6607 constraints, 6608 6609 The times argument is null. 6610 6611 The user ID of the process is not "root". 6612 6613 The file is not owned by the user ID of the process. 6614 6615 The user ID of the process does not have write access to the 6616 file. 6617 2. Verify that the system call utime() fails to set the modification 6618 and access times of a file if the specified file doesn't exist. 6619 6620 <\description> 6621 <test_location> 6622 ltp/testcases/kernel/syscalls/utime/utime06.c 6623 <\test_location> 6624<\testname> 6625<testname=vfork01> 6626 <description> 6627 Fork a process using vfork() and verify that, the attribute values like 6628 euid, ruid, suid, egid, rgid, sgid, umask, inode and device number of 6629 root and current working directories are same as that of the parent 6630 process. 6631 6632 <\description> 6633 <test_location> 6634 ltp/testcases/kernel/syscalls/vfork/vfork01.c 6635 <\test_location> 6636<\testname> 6637<testname=vfork02> 6638 <description> 6639 Fork a process using vfork() and verify that, the pending signals in 6640 the parent are not pending in the child process. 6641 6642 <\description> 6643 <test_location> 6644 ltp/testcases/kernel/syscalls/vfork/vfork02.c 6645 <\test_location> 6646<\testname> 6647<testname=vhangup01> 6648 <description> 6649 Check the return value, and errno of vhangup(2) 6650 when a non-root user calls vhangup(). 6651 6652 <\description> 6653 <test_location> 6654 ltp/testcases/kernel/syscalls/vhangup/vhangup01.c 6655 <\test_location> 6656<\testname> 6657<testname=vhangup02> 6658 <description> 6659 To test the basic functionality of vhangup(2) 6660 6661 <\description> 6662 <test_location> 6663 ltp/testcases/kernel/syscalls/vhangup/vhangup02.c 6664 <\test_location> 6665<\testname> 6666<testname=wait02> 6667 <description> 6668 Basic test for wait(2) system call. 6669 6670 <\description> 6671 <test_location> 6672 ltp/testcases/kernel/syscalls/wait/wait02.c 6673 <\test_location> 6674<\testname> 6675<testname=wait401> 6676 <description> 6677 check that a call to wait4() correctly waits for a child 6678 process to exit 6679 6680 <\description> 6681 <test_location> 6682 ltp/testcases/kernel/syscalls/wait4/wait401.c 6683 <\test_location> 6684<\testname> 6685<testname=wait402> 6686 <description> 6687 check for ECHILD errno when using an illegal pid value 6688 6689 <\description> 6690 <test_location> 6691 ltp/testcases/kernel/syscalls/wait4/wait402.c 6692 <\test_location> 6693<\testname> 6694<testname=waitpid01> 6695 <description> 6696 Check that when a child kills itself by generating an alarm 6697 exception, the waiting parent is correctly notified. 6698 6699 <\description> 6700 <test_location> 6701 ltp/testcases/kernel/syscalls/waitpid/waitpid01.c 6702 <\test_location> 6703<\testname> 6704<testname=waitpid02> 6705 <description> 6706 Check that when a child kills itself by generating an integer zero 6707 divide exception, the waiting parent is correctly notified. 6708 6709 <\description> 6710 <test_location> 6711 ltp/testcases/kernel/syscalls/waitpid/waitpid02.c 6712 <\test_location> 6713<\testname> 6714<testname=waitpid03> 6715 <description> 6716 Check that parent waits unitl specific child has returned. 6717 6718 <\description> 6719 <test_location> 6720 ltp/testcases/kernel/syscalls/waitpid/waitpid03.c 6721 <\test_location> 6722<\testname> 6723<testname=waitpid04> 6724 <description> 6725 test to check the error conditions in waitpid sys call 6726 6727 <\description> 6728 <test_location> 6729 ltp/testcases/kernel/syscalls/waitpid/waitpid04.c 6730 <\test_location> 6731<\testname> 6732<testname=waitpid05> 6733 <description> 6734 Check that when a child kills itself with a kill statement after 6735 determining its process id by using getpid, the parent receives a 6736 correct report of the cause of its death. This also indirectly 6737 checks that getpid returns the correct process id. 6738 6739 <\description> 6740 <test_location> 6741 ltp/testcases/kernel/syscalls/waitpid/waitpid05.c 6742 <\test_location> 6743<\testname> 6744<testname=waitpid06> 6745 <description> 6746 Tests to see if pid's returned from fork and waitpid are same. 6747 6748 <\description> 6749 <test_location> 6750 ltp/testcases/kernel/syscalls/waitpid/waitpid06.c 6751 <\test_location> 6752<\testname> 6753<testname=waitpid07> 6754 <description> 6755 Tests to see if pid's returned from fork and waitpid are same. 6756 6757 <\description> 6758 <test_location> 6759 ltp/testcases/kernel/syscalls/waitpid/waitpid07.c 6760 <\test_location> 6761<\testname> 6762<testname=waitpid08> 6763 <description> 6764 Tests to see if pid's returned from fork and waitpid are same 6765 6766 <\description> 6767 <test_location> 6768 ltp/testcases/kernel/syscalls/waitpid/waitpid08.c 6769 <\test_location> 6770<\testname> 6771<testname=waitpid09> 6772 <description> 6773 Check ability of parent to wait until child returns, and that the 6774 child's process id is returned through the waitpid. Check that 6775 waitpid returns immediately if no child is present. 6776 6777 <\description> 6778 <test_location> 6779 ltp/testcases/kernel/syscalls/waitpid/waitpid09.c 6780 <\test_location> 6781<\testname> 6782<testname=waitpid10> 6783 <description> 6784 Tests to see if pid's returned from fork and waitpid are same 6785 6786 <\description> 6787 <test_location> 6788 ltp/testcases/kernel/syscalls/waitpid/waitpid10.c 6789 <\test_location> 6790<\testname> 6791<testname=waitpid11> 6792 <description> 6793 Tests to see if pid's returned from fork and waitpid are same 6794 6795 <\description> 6796 <test_location> 6797 ltp/testcases/kernel/syscalls/waitpid/waitpid11.c 6798 <\test_location> 6799<\testname> 6800<testname=waitpid12> 6801 <description> 6802 Tests to see if pid's returned from fork and waitpid are same 6803 6804 <\description> 6805 <test_location> 6806 ltp/testcases/kernel/syscalls/waitpid/waitpid12.c 6807 <\test_location> 6808<\testname> 6809<testname=waitpid13> 6810 <description> 6811 Tests to see if pid's returned from fork and waitpid are same 6812 6813 <\description> 6814 <test_location> 6815 ltp/testcases/kernel/syscalls/waitpid/waitpid13.c 6816 <\test_location> 6817<\testname> 6818<testname=write01> 6819 <description> 6820 Basic test for write(2) system call. 6821 6822 <\description> 6823 <test_location> 6824 ltp/testcases/kernel/syscalls/write/write01.c 6825 <\test_location> 6826<\testname> 6827<testname=write02> 6828 <description> 6829 Basic functionality test: does the return from write match the count 6830 of the number of bytes written. 6831 6832 <\description> 6833 <test_location> 6834 ltp/testcases/kernel/syscalls/write/write02.c 6835 <\test_location> 6836<\testname> 6837<testname=write03> 6838 <description> 6839 Testcase to check that write(2) doesn't corrupt a file when it fails 6840 6841 <\description> 6842 <test_location> 6843 ltp/testcases/kernel/syscalls/write/write03.c 6844 <\test_location> 6845<\testname> 6846<testname=write04> 6847 <description> 6848 Testcase to check that write() sets errno to EAGAIN 6849 6850 <\description> 6851 <test_location> 6852 ltp/testcases/kernel/syscalls/write/write04.c 6853 <\test_location> 6854<\testname> 6855<testname=write05> 6856 <description> 6857 Check the return value, and errnos of write(2) 6858 - when the file descriptor is invalid 6859 6860 <\description> 6861 <test_location> 6862 ltp/testcases/kernel/syscalls/write/write05.c 6863 <\test_location> 6864<\testname> 6865<testname=EBADF> 6866 <description> 6867 - when the buf parameter is invalid 6868 6869 <\description> 6870 <test_location> 6871 <\test_location> 6872<\testname> 6873<testname=EFAULT> 6874 <description> 6875 - on an attempt to write to a pipe that is not open for reading 6876 6877 <\description> 6878 <test_location> 6879 <\test_location> 6880<\testname> 6881<testname=writev01> 6882 <description> 6883 Testcase to check the basic functionality of writev(2) system call. 6884 6885 <\description> 6886 <test_location> 6887 ltp/testcases/kernel/syscalls/writev/writev01.c 6888 <\test_location> 6889<\testname> 6890<testname=writev02> 6891 <description> 6892 In these testcases, writev() is called with partially valid data 6893 to be written in a sparse file. 6894 6895 <\description> 6896 <test_location> 6897 ltp/testcases/kernel/syscalls/writev/writev02.c 6898 <\test_location> 6899<\testname> 6900<testname=writev03> 6901 <description> 6902 The testcases are written calling writev() with partially valid data 6903 to overwrite the contents, to write in the beginning and to write in 6904 the end of the file. 6905 6906 <\description> 6907 <test_location> 6908 ltp/testcases/kernel/syscalls/writev/writev03.c 6909 <\test_location> 6910<\testname> 6911<testname=writev04> 6912 <description> 6913 The testcases are written calling writev() with partially valid data 6914 to overwrite the contents, to write in the beginning and to write in 6915 the end of the file. This is same as writev03, but the length of 6916 buffer used here is 8192 bytes. 6917 6918 <\description> 6919 <test_location> 6920 ltp/testcases/kernel/syscalls/writev/writev04.c 6921 <\test_location> 6922<\testname> 6923<testname=writev05> 6924 <description> 6925 These testcases are written to test writev() on sparse files. This 6926 is same as writev02. But the initial write() with valid data is 6927 done at the beginning of the file. 6928 6929 <\description> 6930 <test_location> 6931 ltp/testcases/kernel/syscalls/writev/writev05.c 6932 <\test_location> 6933<\testname> 6934<testname=clock_gettime02> 6935 <description> 6936 Basic test for clock_gettime(2) 6937 6938 <\description> 6939 <test_location> 6940 ltp/testcases/kernel/timers/clock_gettime/clock_gettime02.c 6941 <\test_location> 6942<\testname> 6943<testname=clock_gettime03> 6944 <description> 6945 Test checking for basic error conditions for clock_gettime(2) 6946 6947 <\description> 6948 <test_location> 6949 ltp/testcases/kernel/timers/clock_gettime/clock_gettime03.c 6950 <\test_location> 6951<\testname> 6952<testname=clock_settime02> 6953 <description> 6954 Basic test for clock_settime(2) 6955 6956 <\description> 6957 <test_location> 6958 ltp/testcases/kernel/timers/clock_settime/clock_settime02.c 6959 <\test_location> 6960<\testname> 6961<testname=clock_settime03> 6962 <description> 6963 Test checking for basic error conditions for clock_settime(2) 6964 6965 <\description> 6966 <test_location> 6967 ltp/testcases/kernel/timers/clock_settime/clock_settime03.c 6968 <\test_location> 6969<\testname> 6970<testname=timer_create01> 6971 <description> 6972 Basic test for timer_create(2) 6973 6974 <\description> 6975 <test_location> 6976 <\test_location> 6977<\testname> 6978<testname=timer_create02> 6979 <description> 6980 Basic test for timer_create(2) 6981 6982 <\description> 6983 <test_location> 6984 ltp/testcases/kernel/timers/timer_create/timer_create02.c 6985 <\test_location> 6986<\testname> 6987<testname=timer_create03> 6988 <description> 6989 Test checking for basic error conditions for timer_create(2) 6990 6991 <\description> 6992 <test_location> 6993 ltp/testcases/kernel/timers/timer_create/timer_create03.c 6994 <\test_location> 6995<\testname> 6996<testname=timer_delete01> 6997 <description> 6998 Basic test for timer_delete(2) 6999 7000 <\description> 7001 <test_location> 7002 <\test_location> 7003<\testname> 7004<testname=timer_delete02> 7005 <description> 7006 Test checking for basic error conditions for timer_delete(2) 7007 7008 <\description> 7009 <test_location> 7010 ltp/testcases/kernel/timers/timer_delete/timer_delete02.c 7011 <\test_location> 7012<\testname> 7013<testname=timer_settime01> 7014 <description> 7015 Basic test for timer_settime(2) 7016 7017 <\description> 7018 <test_location> 7019 <\test_location> 7020<\testname> 7021<testname=timers> 7022 <description> 7023 Test checking for basic error conditions for timer_settime(2) 7024 7025 <\description> 7026 <test_location> 7027 ltp/testcases/kernel/timers 7028 <\test_location> 7029<\testname> 7030