Page MenuHomeFreeBSD
Feed Advanced Search

Jun 5 2018

aniketp updated the diff for D15657: audit(4): Add tests for all audit events of open(2) and openat(2).
  • Update the test program to use macros for generating test cases
Jun 5 2018, 12:09 AM

Jun 4 2018

aniketp updated the diff for D15657: audit(4): Add tests for all audit events of open(2) and openat(2).
  • Add the missing open.c source file
Jun 4 2018, 12:06 AM
aniketp created D15657: audit(4): Add tests for all audit events of open(2) and openat(2).
Jun 4 2018, 12:04 AM

Jun 3 2018

aniketp updated the diff for D15650: Add tests for 4 syscalls in "file-close" audit class.

Update the typecasting of statbuff.st_ino to intmax_t and format specfier as %jd to support all architectures.

Jun 3 2018, 1:04 AM

Jun 2 2018

aniketp added a comment to D15650: Add tests for 4 syscalls in "file-close" audit class.

Would it be fine to check the presence of PID in the audit regex instead of "Inode number"?
Also, is this a viable fix?
snprintf(extregex, sizeof(extregex), "close.*%ld.*return,succes", (long int)statbuff.st_ino);

Jun 2 2018, 11:57 PM
aniketp updated the diff for D15650: Add tests for 4 syscalls in "file-close" audit class.

Update the format specifier for st_ino as llu from lu

Jun 2 2018, 10:45 PM
aniketp updated the diff for D15650: Add tests for 4 syscalls in "file-close" audit class.

Use posix_openpt(2) and ptsname(3) instead of openpty(3)
Also, remove the extraneous backslash in one of the snprintf statement

Jun 2 2018, 9:02 PM
aniketp retitled D15650: Add tests for 4 syscalls in "file-close" audit class from Add tests for 3 syscalls in "file-close" audit class to Add tests for 4 syscalls in "file-close" audit class.
Jun 2 2018, 6:15 PM
aniketp updated the diff for D15650: Add tests for 4 syscalls in "file-close" audit class.

Update the file descriptor limit as INT_MAX in closefrom(2)

Jun 2 2018, 6:12 PM
aniketp updated the diff for D15650: Add tests for 4 syscalls in "file-close" audit class.

Allocate enough size to ptyname and replace hardcoded size for
ptyname with sizeof(ptyname)

Jun 2 2018, 4:32 PM

Jun 1 2018

aniketp created D15650: Add tests for 4 syscalls in "file-close" audit class.
Jun 1 2018, 10:43 PM
aniketp updated the diff for D15647: Add tests for 5 syscalls in "file-delete" audit class.

Add a test-case metadata to ensure that the tests don't run in parallel:
TEST_METADATA+= is_exclusive="true"

Jun 1 2018, 7:24 PM
aniketp updated the summary of D15647: Add tests for 5 syscalls in "file-delete" audit class.
Jun 1 2018, 5:42 PM
aniketp created D15647: Add tests for 5 syscalls in "file-delete" audit class.
Jun 1 2018, 5:40 PM
aniketp added a comment to D15640: Add tests for truncate(2) and ftruncate(2) system calls.

Yes, apart from open and openat, truncate and ftruncate are the only syscalls in this class

Jun 1 2018, 1:24 PM
aniketp created D15640: Add tests for truncate(2) and ftruncate(2) system calls.
Jun 1 2018, 2:21 AM

May 31 2018

aniketp updated the diff for D15636: Add tests for readlink(2) and readlinkat(2) system calls.

Remove "All rights reserved" from utils.c and utils.h

May 31 2018, 8:02 PM
aniketp updated the diff for D15636: Add tests for readlink(2) and readlinkat(2) system calls.

Remove the "All Rights Reserved" from file-create.c and file-read.c

May 31 2018, 6:20 PM
aniketp created D15636: Add tests for readlink(2) and readlinkat(2) system calls.
May 31 2018, 5:31 PM
aniketp abandoned D15613: Add tests for open(2) and openat(2) for "file-create" audit class.
May 31 2018, 5:26 PM
aniketp updated the diff for D15613: Add tests for open(2) and openat(2) for "file-create" audit class.

Update the URL to audit event list to point to contrib/openbsm/etc/audit_events

May 31 2018, 3:15 PM
aniketp added inline comments to D15613: Add tests for open(2) and openat(2) for "file-create" audit class.
May 31 2018, 2:51 PM

May 30 2018

aniketp updated the diff for D15613: Add tests for open(2) and openat(2) for "file-create" audit class.

Add the following comment in the beginning of the test-program:

Note: open(2) and openat(2) have been tested in various combination of flags
with O_CREAT being common since all of them are separate auditable events
See: https://github.com/openbsm/openbsm/blob/master/etc/audit_event#L93
May 30 2018, 11:03 PM
aniketp added inline comments to D15613: Add tests for open(2) and openat(2) for "file-create" audit class.
May 30 2018, 9:48 PM
aniketp added inline comments to D15613: Add tests for open(2) and openat(2) for "file-create" audit class.
May 30 2018, 8:57 PM
aniketp updated the diff for D15561: Include <bsm/audit.h> in <security/audit/audit_ioctl.h> for `au_mask_t` data-type.

Revert every change except importing <bsm/audit.h> into <security/audit/audit_ioctl.h>

May 30 2018, 8:39 PM
aniketp updated the diff for D15620: Fix the incorrect argument types of auditpipe(4) in man-page.

Update the man-page revision date

May 30 2018, 5:19 PM
aniketp created D15620: Fix the incorrect argument types of auditpipe(4) in man-page.
May 30 2018, 5:18 PM
aniketp updated the diff for D15618: Correct the success return value for au_read_rec() in au_io.3.

Update the revision following the inline suggestions

May 30 2018, 4:56 PM
aniketp updated the summary of D15618: Correct the success return value for au_read_rec() in au_io.3.
May 30 2018, 4:36 PM
aniketp created D15618: Correct the success return value for au_read_rec() in au_io.3.
May 30 2018, 4:35 PM
aniketp updated the summary of D15613: Add tests for open(2) and openat(2) for "file-create" audit class.
May 30 2018, 12:15 AM
aniketp created D15613: Add tests for open(2) and openat(2) for "file-create" audit class.
May 30 2018, 12:14 AM

May 27 2018

aniketp added inline comments to D15561: Include <bsm/audit.h> in <security/audit/audit_ioctl.h> for `au_mask_t` data-type.
May 27 2018, 12:54 AM

May 24 2018

aniketp updated the summary of D15561: Include <bsm/audit.h> in <security/audit/audit_ioctl.h> for `au_mask_t` data-type.
May 24 2018, 7:10 PM
aniketp created D15561: Include <bsm/audit.h> in <security/audit/audit_ioctl.h> for `au_mask_t` data-type.
May 24 2018, 7:07 PM

May 14 2018

aniketp abandoned D15423: Add initial set of tests for audit(4) subsystem.
May 14 2018, 4:33 PM
aniketp created D15423: Add initial set of tests for audit(4) subsystem.
May 14 2018, 10:20 AM