Removes the subsystem objects associated with the SubsystemName parameter.
System Resource Controller Library (libsrc.a)
#include <sys/srcobj.h> #include <spc.h>
int delssys ( SubsystemName)
char *SubsystemName;
The delssys subroutine removes the subsystem objects associated with the specified subsystem. This removes all objects associated with that subsystem from the following object classes:
The program running with this subroutine must be running with the group system.
SubsystemName | Specifies the name of the subsystem. |
Upon successful completion, the delssys subroutine returns a positive value. If no record is found, a value of 0 is returned. Otherwise, -1 is returned and the odmerrno variable is set to indicate the error. See "Appendix B. ODM Error Codes (Appendix B, ODM Error Codes)" for a description of possible odmerrno values.
SET_PROC_AUDIT kernel privilege
Mode | File |
644 | /etc/objrepos/SRCsubsys |
644 | /etc/objrepos/SRCsubsvr |
644 | /etc/objrepos/SRCnotify |
Event | Information |
SRC_Delssys | Lists in an audit log the name of the subsystem being removed. |
This subroutine is part of Base Operating System (BOS) Runtime.
/etc/objrepos/SRCsubsys | SRC Subsystem Configuration object class. |
/etc/objrepos/SRCsubsvr | SRC Subsystem Configuration object class. |
/etc/objrepos/SRCnotify | SRC Notify Method object class. |
/dev/SRC | Specifies the AF_UNIX socket file. |
/dev/.SRC-unix | Specifies the location for temporary socket files. |
/usr/include/sys/srcobj.h | Defines object structures used by the SRC. |
/usr/include/spc.h | Defines external interfaces provided by the SRC subroutines. |
The addssys (addssys Subroutine) subroutine, chssys (chssys Subroutine) subroutine.
The chssys command, mkssys command, rmssys command.
List of SRC Subroutines and System Resource Controller (SRC) Overview for Programmers in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.