Changeset 518


Ignore:
Timestamp:
04/18/11 12:13:21 (3 years ago)
Author:
sgrubb
Message:

Fix autrace to use correct syscalls on s390 and s390x systems

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r513 r518  
    88- In audisp-remote, make all I/O asynchronous 
    99- In audisp-remote, add sigusr1 handler to dump internal state 
     10- Fix autrace to use correct syscalls on s390 and s390x systems 
    1011 
    11122.1 
  • trunk/src/autrace.c

    r426 r518  
    11/* autrace.c --  
    2  * Copyright 2005-09 Red Hat Inc., Durham, North Carolina. 
     2 * Copyright 2005-09,2011 Red Hat Inc., Durham, North Carolina. 
    33 * All Rights Reserved. 
    44 * 
     
    8888                rc |= audit_rule_syscallbyname_data(rule, "execve"); 
    8989 
    90                 if (machine != MACH_X86) { 
     90                if (machine != MACH_X86 && machine != MACH_S390X &&  
     91                                                machine != MACH_S390) { 
    9192                        rc |= audit_rule_syscallbyname_data(rule, "connect"); 
    9293                        rc |= audit_rule_syscallbyname_data(rule, "bind"); 
     
    109110 
    110111        // Now if i386, lets add its network rules 
    111         if (machine == MACH_X86) { 
     112        if (machine == MACH_X86 || machine == MACH_S390X || 
     113                                                machine == MACH_S390) { 
    112114                int i, a0[5] = { SYS_CONNECT, SYS_BIND, SYS_ACCEPT, SYS_SENDTO, SYS_RECVFROM }; 
    113115                for (i=0; i<5; i++) { 
Note: See TracChangeset for help on using the changeset viewer.