aniketp (Aniket Pandey)
User

Projects

User does not belong to any projects.

User Details

User Since
May 14 2018, 9:57 AM (9 w, 6 d)

Recent Activity

Yesterday

aniketp updated the diff for D16379: Add initial expected failures cases for chflagsat(2), lgetfh(2), setfib(2).
  • Include PR number with the expected failure message
Sat, Jul 21, 3:59 PM
aniketp updated the diff for D16381: Add default case and ENOSYS expected cases for auditon(2) system call.
  • Rename auditon_{success/failure} to auditon_default_{success/failure}
Sat, Jul 21, 3:52 PM
aniketp created D16381: Add default case and ENOSYS expected cases for auditon(2) system call.
Sat, Jul 21, 2:38 PM
aniketp created D16379: Add initial expected failures cases for chflagsat(2), lgetfh(2), setfib(2).
Sat, Jul 21, 1:03 PM

Fri, Jul 20

aniketp updated the diff for D16255: Separate the tests for auditon(2) based on individual commands.
  • Comment describing the latest change in auditon_setcond_success
Fri, Jul 20, 6:10 PM
aniketp updated the diff for D16255: Separate the tests for auditon(2) based on individual commands.
  • Fix the above described bug in auditon_setcond_success
Fri, Jul 20, 6:05 PM

Thu, Jul 19

aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
  • Fix 'pointer from integer without a cast' build failure on sparc64
Thu, Jul 19, 5:42 PM
aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
  • Fix build for ARM and Sparc64 architectures
Thu, Jul 19, 4:07 PM

Tue, Jul 17

aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
  • Replace ARM_SYNC_ICACHE with ARM_DRAIN_WRITEBUF as the syscall argument

ARM_SYNC_ICACHE for some reason breaks build on arm as pointed out by @asomers. It can't find the declaration of the corresponding struct and hence, assumes that the test-program is declaring
the struct instead of defining it.

Tue, Jul 17, 7:24 PM
aniketp added inline comments to D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
Tue, Jul 17, 3:00 PM
aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
  • Changes as suggested in the previous review
Tue, Jul 17, 11:00 AM
aniketp updated the diff for D16099: Introduce tests for Capability mode System calls and _exit(2).
  • Grammamtical corrections in the same comment
Tue, Jul 17, 8:47 AM
aniketp added a comment to D16099: Introduce tests for Capability mode System calls and _exit(2).
Tue, Jul 17, 8:40 AM
aniketp updated the diff for D16099: Introduce tests for Capability mode System calls and _exit(2).
  • Improvements in setvbuf's comments
Tue, Jul 17, 8:40 AM

Mon, Jul 16

aniketp updated the diff for D16099: Introduce tests for Capability mode System calls and _exit(2).
  • Remove redundant header includes that were added for ioctl operations which are not required anymore
Mon, Jul 16, 10:47 PM
aniketp updated the diff for D16099: Introduce tests for Capability mode System calls and _exit(2).
  • Disable I/O buffering for the whole test-suite
Mon, Jul 16, 10:44 PM
aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
  • Use respective args instead of a common void *sysarg
Mon, Jul 16, 10:37 PM
aniketp updated the diff for D16099: Introduce tests for Capability mode System calls and _exit(2).
  • Some more updates to the recent comments
Mon, Jul 16, 8:35 PM
aniketp updated the diff for D16099: Introduce tests for Capability mode System calls and _exit(2).
  • Forgot a comma in _exit(2) test case comments
Mon, Jul 16, 8:33 PM
aniketp updated the diff for D16099: Introduce tests for Capability mode System calls and _exit(2).
  • Disable buffering for cap_enter(2) and _exit(2)
Mon, Jul 16, 8:31 PM

Sat, Jul 14

aniketp updated the diff for D16255: Separate the tests for auditon(2) based on individual commands.
  • Same change as above for the missed mallocs
Sat, Jul 14, 4:59 PM
aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
  • Add the missed sysnum for sparc64 tests
Sat, Jul 14, 4:46 PM
aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.

Add the missed \#endif statement

Sat, Jul 14, 4:39 PM
aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.

Include Sparc64 in the possible architectures for sysarch(2)

Sat, Jul 14, 4:34 PM
aniketp added inline comments to D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
Sat, Jul 14, 3:02 PM
aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.

Create a single success mode test case for sysarch(2) with sysnum being dependent on the system architecture

Sat, Jul 14, 12:08 PM
aniketp updated the diff for D16255: Separate the tests for auditon(2) based on individual commands.

Store auditinfo in stack instead of allocating heap memory

Sat, Jul 14, 11:38 AM

Fri, Jul 13

aniketp updated the summary of D16255: Separate the tests for auditon(2) based on individual commands.
Fri, Jul 13, 1:37 PM
aniketp created D16255: Separate the tests for auditon(2) based on individual commands.
Fri, Jul 13, 1:36 PM
aniketp added a comment to D16222: auditon(2): Fix the misplacement of negation symbol in A_SETPOLICY command.

I guess in one of the later tests, I'll have to fix this too: tests/sys/audit/administrative.c#L389

Fri, Jul 13, 12:04 PM
aniketp updated the test plan for D16222: auditon(2): Fix the misplacement of negation symbol in A_SETPOLICY command.
Fri, Jul 13, 12:02 PM

Wed, Jul 11

aniketp accepted D16210: Don't acquire evclass_lock with a spinlock held.
Wed, Jul 11, 2:33 PM
aniketp added a comment to D16210: Don't acquire evclass_lock with a spinlock held.

Oh, no. _exit(2) wasn't failing previously. In fact, I hadn't even created its test. I apparently overlooked it just because process-control has a _lot_ of syscalls.

Wed, Jul 11, 1:59 PM
aniketp retitled D16222: auditon(2): Fix the misplacement of negation symbol in A_SETPOLICY command from Fix AUDIT_CNT bit negation's misplacement in A_SETPOLICY:auditon(2) to auditon(2): Fix the misplacement of negation symbol in A_SETPOLICY command.
Wed, Jul 11, 11:57 AM
aniketp created D16222: auditon(2): Fix the misplacement of negation symbol in A_SETPOLICY command.
Wed, Jul 11, 11:56 AM
aniketp added a comment to D16210: Don't acquire evclass_lock with a spinlock held.

Other than the (possible?) repetition of AUDIT_SYSCALL_EXIT in kern_exit.c. The issue with exa(1) seems to have gone away. Also, the regression tests for audit of _exit(2) in D16099 don't fail on introducing this change.

Wed, Jul 11, 8:07 AM
aniketp updated the diff for D16099: Introduce tests for Capability mode System calls and _exit(2).
  • Updates in _exit(2) test case comment
Wed, Jul 11, 7:57 AM
aniketp retitled D16099: Introduce tests for Capability mode System calls and _exit(2) from Introduce tests for Capability mode System calls to Introduce tests for Capability mode System calls and _exit(2).
Wed, Jul 11, 7:33 AM
aniketp updated the diff for D16099: Introduce tests for Capability mode System calls and _exit(2).
  • Add tests for _exit(2) using the AUDITPIPE_FLUSH approach (for now)
Wed, Jul 11, 7:32 AM
aniketp added inline comments to D16210: Don't acquire evclass_lock with a spinlock held.
Wed, Jul 11, 6:57 AM

Tue, Jul 10

aniketp updated the diff for D16099: Introduce tests for Capability mode System calls and _exit(2).
  • Add the AUDITPIPE_FLUSH ioctl after calling cap_enter() to eliminate the buffering issue
Tue, Jul 10, 8:47 AM

Wed, Jul 4

aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
  • Add test for audit(2) in failure case
Wed, Jul 4, 3:09 PM

Tue, Jul 3

aniketp updated the diff for D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
  • Updates in Copyright
Tue, Jul 3, 7:24 PM
aniketp created D16116: Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS architectures.
Tue, Jul 3, 7:15 PM

Mon, Jul 2

aniketp created D16099: Introduce tests for Capability mode System calls and _exit(2).
Mon, Jul 2, 5:41 PM

Sun, Jul 1

aniketp created D16086: Add tests for procctl(2): process-control audit class.
Sun, Jul 1, 3:38 PM

Wed, Jun 27

aniketp updated the diff for D15898: Add tests for miscellaneous administrative system calls.
  • Initialize ec_class to 0
Wed, Jun 27, 5:28 PM
aniketp updated the diff for D16035: audit(4): Add tests for setsid(2), wait4(2), wait6(2) and kill(2).
  • Update comment explaining why we are ignoring the output of first setsid()
Wed, Jun 27, 5:26 PM
aniketp updated the diff for D15898: Add tests for miscellaneous administrative system calls.

Initialize evclass to get the event-class mapping for auditon(2)

Wed, Jun 27, 5:11 PM
aniketp updated the diff for D16035: audit(4): Add tests for setsid(2), wait4(2), wait6(2) and kill(2).
  • Call setsid() prematurely to intentionally fail the tests
Wed, Jun 27, 4:56 PM
aniketp updated the diff for D15898: Add tests for miscellaneous administrative system calls.
  • Remove placeholder comment about not testing mount(2), nmount(2) in success case

These will be dealt later on

Wed, Jun 27, 4:19 PM
aniketp updated the summary of D15898: Add tests for miscellaneous administrative system calls.
Wed, Jun 27, 3:04 PM
aniketp updated the diff for D15898: Add tests for miscellaneous administrative system calls.
  • Add tests for clock_settime(2)
Wed, Jun 27, 2:53 PM
aniketp updated the summary of D15898: Add tests for miscellaneous administrative system calls.
Wed, Jun 27, 2:00 PM
aniketp updated the diff for D15898: Add tests for miscellaneous administrative system calls.
  • Add tests for auditon(2), swapon(2) and swapoff(2)

Note: swapon(2) and swapoff(2) require block device, hence can't be tested
in success case since block devices are gone (from FreeBSD)

Wed, Jun 27, 1:59 PM
aniketp created D16035: audit(4): Add tests for setsid(2), wait4(2), wait6(2) and kill(2).
Wed, Jun 27, 11:30 AM
aniketp updated the diff for D16000: Fix wrong sizeof() argument and descriptor leak reported by Coverity.

Remove 80 bytes hardcoded initialization from buff array

Wed, Jun 27, 4:30 AM

Mon, Jun 25

aniketp updated the diff for D16000: Fix wrong sizeof() argument and descriptor leak reported by Coverity.

Declare buff as an array instead of a pointer, to be able to correctly pass the value to nbutes argument for extattr_set_*

Mon, Jun 25, 11:04 AM

Sun, Jun 24

aniketp created D16000: Fix wrong sizeof() argument and descriptor leak reported by Coverity.
Sun, Jun 24, 9:10 PM

Sat, Jun 23

aniketp updated the summary of D15966: Introduce test-program for process-control group of system calls.
Sat, Jun 23, 8:36 PM
aniketp updated the diff for D15966: Introduce test-program for process-control group of system calls.

Add test for setpgrp_success

Sat, Jun 23, 8:35 PM
aniketp added inline comments to D15966: Introduce test-program for process-control group of system calls.
Sat, Jun 23, 7:27 PM
aniketp updated the diff for D15966: Introduce test-program for process-control group of system calls.

Update ngroups for setgroups_success as 5 instead of 100

Sat, Jun 23, 7:26 PM
aniketp updated the diff for D15966: Introduce test-program for process-control group of system calls.

Changes according to the inline comments

Sat, Jun 23, 2:26 AM
aniketp updated the diff for D15963: Add tests for pipe(2) and POSIX standardized IPC syscalls.

Remove -1 from strlcat() in shm_inlink_success test case

Sat, Jun 23, 1:52 AM

Fri, Jun 22

aniketp updated the diff for D15963: Add tests for pipe(2) and POSIX standardized IPC syscalls.

Changes as suggested in the inline comments

Fri, Jun 22, 5:11 PM
aniketp updated the summary of D15966: Introduce test-program for process-control group of system calls.
Fri, Jun 22, 4:05 PM
aniketp updated the diff for D15966: Introduce test-program for process-control group of system calls.

Add test for successful invocation of setlogin(2)

Fri, Jun 22, 4:04 PM
aniketp updated the summary of D15966: Introduce test-program for process-control group of system calls.
Fri, Jun 22, 3:45 PM
aniketp created D15966: Introduce test-program for process-control group of system calls.
Fri, Jun 22, 3:45 PM

Jun 22 2018

aniketp created D15963: Add tests for pipe(2) and POSIX standardized IPC syscalls.
Jun 22 2018, 4:51 AM
aniketp updated the summary of D15898: Add tests for miscellaneous administrative system calls.
Jun 22 2018, 4:27 AM
aniketp added inline comments to D15898: Add tests for miscellaneous administrative system calls.
Jun 22 2018, 4:27 AM

Jun 21 2018

aniketp updated the diff for D15897: System V standardized IPC syscalls concerned with manipulating semaphore sets.

Define _WANT_SEMUN instead of declaring union semun in the test program

Jun 21 2018, 11:59 PM
aniketp updated the diff for D15898: Add tests for miscellaneous administrative system calls.

Shift the location of close(filedesc2) to right after opening it

Jun 21 2018, 11:25 PM
aniketp updated the diff for D15898: Add tests for miscellaneous administrative system calls.

Update the test case for acct_success

Jun 21 2018, 4:01 PM
aniketp updated the diff for D15898: Add tests for miscellaneous administrative system calls.
  • Add test for acct_success. Use sysctlbyname(3) to retrieve the accounting status
  • Minor changes in auditctl_success test case cleanup
Jun 21 2018, 8:51 AM

Jun 20 2018

aniketp added inline comments to D15897: System V standardized IPC syscalls concerned with manipulating semaphore sets.
Jun 20 2018, 3:51 PM
aniketp updated the diff for D15897: System V standardized IPC syscalls concerned with manipulating semaphore sets.
  • Remove semarg from GETVAL, GETPID, GETZCNT, GETNCNT
  • Initialize semvals in SETALL by first calling GETALL
Jun 20 2018, 3:51 PM
aniketp added inline comments to D15897: System V standardized IPC syscalls concerned with manipulating semaphore sets.
Jun 20 2018, 11:55 AM
aniketp updated the diff for D15897: System V standardized IPC syscalls concerned with manipulating semaphore sets.

Replace arg with semarg; And some minor changes

Jun 20 2018, 11:51 AM
aniketp added inline comments to D15898: Add tests for miscellaneous administrative system calls.
Jun 20 2018, 11:06 AM

Jun 19 2018

aniketp updated the diff for D15895: Add tests for sendmsg(2), recvmsg(2), shutdown(2), sendfile(2).

Use bzero from within the function init_msghdr()

Jun 19 2018, 5:12 PM
aniketp updated the diff for D15895: Add tests for sendmsg(2), recvmsg(2), shutdown(2), sendfile(2).

Lots of changes

  • Typecast changes to socklen_t
  • bzeroed struct msghdrs
  • Some tweaks in hex format identifiers and variable namings
Jun 19 2018, 3:51 PM
aniketp created D15898: Add tests for miscellaneous administrative system calls.
Jun 19 2018, 6:07 AM
aniketp created D15897: System V standardized IPC syscalls concerned with manipulating semaphore sets.
Jun 19 2018, 3:57 AM
aniketp updated the diff for D15893: Add tests for utimes(2), futimes(2), lutimes(2), futimesat(2), mprotect(2) and undelete(2).

Use PROT_NONE instead of 0 for mprotect_success

Jun 19 2018, 3:04 AM
aniketp created D15895: Add tests for sendmsg(2), recvmsg(2), shutdown(2), sendfile(2).
Jun 19 2018, 1:41 AM
aniketp created D15893: Add tests for utimes(2), futimes(2), lutimes(2), futimesat(2), mprotect(2) and undelete(2).
Jun 19 2018, 12:49 AM

Jun 18 2018

aniketp updated the diff for D15872: Introduce test-program for ioctl(2) syscall.
  • Update the format specifier to %#lx instead of 0x%x
Jun 18 2018, 11:55 PM
aniketp updated the diff for D15869: Syscalls concerned with sending/receiving message via sockets.

Revert back to meta message

Jun 18 2018, 7:10 AM
aniketp added inline comments to D15869: Syscalls concerned with sending/receiving message via sockets.
Jun 18 2018, 7:07 AM
aniketp updated the diff for D15869: Syscalls concerned with sending/receiving message via sockets.

Lots of changes

  • Non-blocking sockets not needed anymore, make them all default
  • Remove check_readfs() functions [Since socket is blocking by default, read() will actually block till it receives a message]
  • Eliminate client from the whole test program, since I never actually need it.
  • Remove all unused, uninitialized variables, specially from failure test cases
  • Improvements in comments an formatting
  • Remove redundant header imports
Jun 18 2018, 7:00 AM
aniketp updated the diff for D15872: Introduce test-program for ioctl(2) syscall.

Verify the audit of hex(request) in the ioctl(2)'s audit record

Jun 18 2018, 5:24 AM
aniketp updated the diff for D15871: Add tests for {get/set}auid, {get/set}audit, {get/set}audit_addr.

Instead of passing allocated and unitialized memory as the length for {get/set}audit_addr, simply pass the sizeof(auditinfo) as it is supposed to be used.

Jun 18 2018, 5:02 AM
aniketp updated the diff for D15867: Syscalls concerned with modifying/deleting the extended attributes of a file.

Replace readbuff with retval since it is a simple return value instead of a buffer
i.e return value of extattr_delete_{file/fd/link}

Jun 18 2018, 4:52 AM

Jun 17 2018

aniketp created D15872: Introduce test-program for ioctl(2) syscall.
Jun 17 2018, 8:30 PM
aniketp created D15871: Add tests for {get/set}auid, {get/set}audit, {get/set}audit_addr.
Jun 17 2018, 8:03 PM
aniketp created D15869: Syscalls concerned with sending/receiving message via sockets.
Jun 17 2018, 7:29 PM
aniketp updated the diff for D15860: System V standardized IPC syscalls for manipulating shared memory segments.

Remove (int)addr from regex it is not required (We already have the shmid to match against)

Jun 17 2018, 6:04 PM