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.
Privilege Control:
SET_PROC_AUDIT kernel privilege
Files Accessed:
Mode | File |
---|---|
644 | /etc/objrepos/SRCsubsys |
644 | /etc/objrepos/SRCsubsvr |
644 | /etc/objrepos/SRCnotify |
Auditing Events:
Event | Information |
---|---|
SRC_Delssys | Lists in an audit log the name of the subsystem being removed. |
/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.2 General Programming Concepts: Writing and Debugging Programs.