usr.sbin/praudit: Fix tests after 5619d49e07
Commit 5619d49e07
made the getgrgid() call inside bsm work as
intended so we now print "wheel" instead of a numeric 0 in the rgid field.
Reviewed By: markj
Differential Revision: https://reviews.freebsd.org/D28462
This commit is contained in:
parent
2a39919364
commit
7791ecf04b
@ -2,6 +2,6 @@ header,113,11,socket(2),0,Mon Jun 11 10:18:45 2018, + 380 msec
|
|||||||
argument,1,0x1c,domain
|
argument,1,0x1c,domain
|
||||||
argument,2,0x2,type
|
argument,2,0x2,type
|
||||||
argument,3,0x0,protocol
|
argument,3,0x0,protocol
|
||||||
subject,root,root,wheel,root,0,7053,4724,37636,10.0.2.2
|
subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2
|
||||||
return,success,3
|
return,success,3
|
||||||
trailer,113
|
trailer,113
|
||||||
|
@ -2,6 +2,6 @@ header_113_11_socket(2)_0_Mon Jun 11 10:18:45 2018_ + 380 msec
|
|||||||
argument_1_0x1c_domain
|
argument_1_0x1c_domain
|
||||||
argument_2_0x2_type
|
argument_2_0x2_type
|
||||||
argument_3_0x0_protocol
|
argument_3_0x0_protocol
|
||||||
subject_root_root_wheel_root_0_7053_4724_37636_10.0.2.2
|
subject_root_root_wheel_root_wheel_7053_4724_37636_10.0.2.2
|
||||||
return_success_3
|
return_success_3
|
||||||
trailer_113
|
trailer_113
|
||||||
|
@ -2,6 +2,6 @@ header,113,11,socket(2),0,Mon Jun 11 10:18:45 2018, + 380 msec
|
|||||||
argument,1,0x1c,domain
|
argument,1,0x1c,domain
|
||||||
argument,2,0x2,type
|
argument,2,0x2,type
|
||||||
argument,3,0x0,protocol
|
argument,3,0x0,protocol
|
||||||
subject,root,root,wheel,root,0,7053,4724,37636,10.0.2.2
|
subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2
|
||||||
return,success,3
|
return,success,3
|
||||||
trailer,113
|
trailer,113
|
||||||
|
@ -2,6 +2,6 @@ header,113,11,socket(2),0,Mon Jun 11 10:18:45 2018, + 380 msec
|
|||||||
argument,1,0x1c,domain
|
argument,1,0x1c,domain
|
||||||
argument,2,0x2,type
|
argument,2,0x2,type
|
||||||
argument,3,0x0,protocol
|
argument,3,0x0,protocol
|
||||||
subject,root,root,wheel,root,0,7053,4724,37636,10.0.2.2
|
subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2
|
||||||
return,success,3
|
return,success,3
|
||||||
trailer,113
|
trailer,113
|
||||||
|
@ -1 +1 @@
|
|||||||
header,113,11,socket(2),0,Mon Jun 11 10:18:45 2018, + 380 msec,argument,1,0x1c,domain,argument,2,0x2,type,argument,3,0x0,protocol,subject,root,root,wheel,root,0,7053,4724,37636,10.0.2.2,return,success,3,trailer,113,
|
header,113,11,socket(2),0,Mon Jun 11 10:18:45 2018, + 380 msec,argument,1,0x1c,domain,argument,2,0x2,type,argument,3,0x0,protocol,subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2,return,success,3,trailer,113,
|
||||||
|
@ -2,6 +2,6 @@ header,113,11,AUE_SOCKET,0,Mon Jun 11 10:18:45 2018, + 380 msec
|
|||||||
argument,1,0x1c,domain
|
argument,1,0x1c,domain
|
||||||
argument,2,0x2,type
|
argument,2,0x2,type
|
||||||
argument,3,0x0,protocol
|
argument,3,0x0,protocol
|
||||||
subject,root,root,wheel,root,0,7053,4724,37636,10.0.2.2
|
subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2
|
||||||
return,success,3
|
return,success,3
|
||||||
trailer,113
|
trailer,113
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<argument arg-num="1" value="0x1c" desc="domain" />
|
<argument arg-num="1" value="0x1c" desc="domain" />
|
||||||
<argument arg-num="2" value="0x2" desc="type" />
|
<argument arg-num="2" value="0x2" desc="type" />
|
||||||
<argument arg-num="3" value="0x0" desc="protocol" />
|
<argument arg-num="3" value="0x0" desc="protocol" />
|
||||||
<subject audit-uid="root" uid="root" gid="wheel" ruid="root" rgid="0" pid="7053" sid="4724" tid="37636 10.0.2.2" />
|
<subject audit-uid="root" uid="root" gid="wheel" ruid="root" rgid="wheel" pid="7053" sid="4724" tid="37636 10.0.2.2" />
|
||||||
<return errval="success" retval="3" />
|
<return errval="success" retval="3" />
|
||||||
</record>
|
</record>
|
||||||
<?xml version='1.0' ?>
|
<?xml version='1.0' ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user