Searched refs:acctctl (Results 1 - 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dacctctl.c34 acctctl(int cmd, void *buf, size_t bufsz) function
/illumos-gate/usr/src/cmd/acctadm/
H A Dres.h32 #include <sys/acctctl.h>
H A Dutils.c28 #include <sys/acctctl.h>
151 rc = acctctl(type | AC_FILE_SET, (void *) file, strlen(file) + 1);
162 if (acctctl(type | AC_FILE_GET, name, sizeof (name)) == 0 &&
H A Dmain.c26 #include <sys/acctctl.h>
294 * Since the sys_acct the privilege allows use of acctctl() regardless
327 if (acctctl(type | AC_STATE_SET, &state, sizeof (int)) == -1)
330 if (acctctl(type | AC_FILE_SET, NULL, 0) == -1)
354 if (acctctl(type | AC_RES_GET, buf, AC_BUFSIZE) == -1) {
382 if (acctctl(type | AC_RES_SET, buf, AC_BUFSIZE) == -1) {
416 if (acctctl(type | AC_STATE_SET, &state, sizeof (int)) == -1)
476 if (acctctl(type | AC_STATE_SET, &state, sizeof (int)) == -1)
514 if (acctctl(type | AC_STATE_SET, &state, sizeof (int)) == -1)
H A Daconf.c27 #include <sys/acctctl.h>
81 if (acctctl(type | AC_STATE_GET, &acp->state,
87 if (acctctl(type | AC_FILE_GET, acp->file, sizeof (acp->file)) == -1) {
96 if (acctctl(type | AC_RES_GET, buf, AC_BUFSIZE) == -1)
190 if (acctctl(type | AC_RES_SET, buf, AC_BUFSIZE) == -1) {
201 if (acctctl(type | AC_FILE_SET, NULL, 0) == -1) {
207 if (acctctl(type | AC_STATE_SET, &state, sizeof (state)) == -1) {
H A Dres.c30 #include <sys/acctctl.h>
294 * can be used for acctctl() system call
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlastcomm.c29 #include <sys/acctctl.h>
70 if (acctctl(AC_PROC | AC_FILE_GET, buf, PATH_MAX) < 0) {
86 if (acctctl(AC_PROC | AC_FILE_GET, buf, PATH_MAX) < 0)
/illumos-gate/usr/src/uts/sparc/acctctl/
H A DMakefile26 # uts/sparc/acctctl/Makefile
30 # This makefile drives the production of the acctctl system call module.
42 MODULE = acctctl
/illumos-gate/usr/src/uts/intel/acctctl/
H A DMakefile26 # uts/intel/acctctl/Makefile
30 # This makefile drives the production of the acctctl system call module.
42 MODULE = acctctl
/illumos-gate/usr/src/uts/common/sys/
H A Dacctctl.h38 * Definitions for acctctl() system call
173 * uninitialized (ZONE_KEY_UNINITIALIZED) until the acctctl module is loaded.
199 extern int acctctl(int cmd, void *buf, size_t bufsz);
H A Dexacct.h35 #include <sys/acctctl.h>
H A DMakefile72 acctctl.h \
/illumos-gate/usr/src/uts/common/syscall/
H A Dacctctl.c39 #include <sys/acctctl.h>
45 * acctctl(2)
47 * acctctl() provides the administrative interface to the extended accounting
52 * The current implementation of acctctl() requires that the process and task
413 * acctctl()
416 * acctctl() is the entry point for the acctctl(2) system call.
426 acctctl(int cmd, void *buf, size_t bufsz) function
523 acctctl
528 "acctctl syste
[all...]
H A Dexacctsys.c29 #include <sys/acctctl.h>
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c52 #include <sys/acctctl.h>
539 if (acctctl(AC_PROC | AC_RES_SET, res, sizeof (res)) != 0) {
544 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile));
548 if (acctctl(AC_PROC | AC_FILE_SET, path, strlen(path) + 1)
554 if (acctctl(AC_PROC | AC_STATE_SET, &state, sizeof (state)) == -1) {
571 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile));
587 if (acctctl(AC_PROC | AC_RES_SET, res, sizeof (res)) != 0) {
591 if (acctctl(AC_PROC | AC_FILE_SET, NULL, 0) == -1) {
595 if (acctctl(AC_PROC | AC_STATE_SET, &state, sizeof (state)) == -1) {
620 ret = acctctl(AC_PRO
[all...]
/illumos-gate/usr/src/lib/libc/i386/
H A DMakefile.com910 acctctl.o \
/illumos-gate/usr/src/lib/libc/sparcv9/
H A DMakefile.com889 acctctl.o \
/illumos-gate/usr/src/lib/libc/amd64/
H A DMakefile870 acctctl.o \
/illumos-gate/usr/src/uts/common/os/
H A Dexacct.c36 #include <sys/acctctl.h>
186 * exacct_vn_write() safely writes to an accounting file. acctctl() prevents
722 * Don't do any extra work if the acctctl module isn't loaded.
723 * If acctctl module is loaded when zone is in down state then
1155 * acctctl module not loaded. Nothing to do.
1161 * If acctctl module is loaded when zone is in down state then
1411 * acctctl module not loaded. Nothing to do.
1599 * acctctl module not loaded. Nothing to do.
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c51 #include <sys/acctctl.h>
1198 * The mode shift, mode mask and option mask for acctctl have changed. The
/illumos-gate/usr/src/lib/libc/port/
H A Dllib-lc95 #include <sys/acctctl.h>
/illumos-gate/usr/src/lib/libc/sparc/
H A DMakefile.com944 acctctl.o \

Completed in 99 milliseconds