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:
Alex Richardson 2021-02-03 15:26:19 +00:00
parent 2a39919364
commit 7791ecf04b
7 changed files with 7 additions and 7 deletions

View File

@ -2,6 +2,6 @@ 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
subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2
return,success,3
trailer,113

View File

@ -2,6 +2,6 @@ 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
subject_root_root_wheel_root_wheel_7053_4724_37636_10.0.2.2
return_success_3
trailer_113

View File

@ -2,6 +2,6 @@ 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
subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2
return,success,3
trailer,113

View File

@ -2,6 +2,6 @@ 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
subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2
return,success,3
trailer,113

View File

@ -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,

View File

@ -2,6 +2,6 @@ header,113,11,AUE_SOCKET,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
subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2
return,success,3
trailer,113

View File

@ -4,7 +4,7 @@
<argument arg-num="1" value="0x1c" desc="domain" />
<argument arg-num="2" value="0x2" desc="type" />
<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" />
</record>
<?xml version='1.0' ?>