prsecflags_t
prsecflags_t *psf;
prsecflags_t psf;
START(prsecflags, prsecflags_t);
SCALAR_FIELD(prsecflags_t, pr_version, 0);
SCALAR_FIELD(prsecflags_t, pr_effective, 0);
SCALAR_FIELD(prsecflags_t, pr_inherit, 0);
SCALAR_FIELD(prsecflags_t, pr_lower, 0);
SCALAR_FIELD(prsecflags_t, pr_upper, 0);
Psecflags(struct ps_prochandle *P, prsecflags_t **psf)
Psecflags_free(prsecflags_t *psf)
Psecflags_live(struct ps_prochandle *P, prsecflags_t **psf, void *data)
prsecflags_t *core_secflags; /* secflags from core file */
Psecflags_core(struct ps_prochandle *P, prsecflags_t **psf, void *data)
if ((*psf = calloc(1, sizeof (prsecflags_t))) == NULL)
(void) memcpy(*psf, core->core_secflags, sizeof (prsecflags_t));
prsecflags_t *psf;
prsecflags_t *psf = NULL;
sizeof (prsecflags_t), &doff) != 0) {
typedef int (*pop_secflags_t)(struct ps_prochandle *, prsecflags_t **, void *);
extern int Psecflags(struct ps_prochandle *, prsecflags_t **);
extern void Psecflags_free(prsecflags_t *);
extern int proc_get_secflags(pid_t, prsecflags_t **);
proc_get_secflags(pid_t pid, prsecflags_t **psf)
if ((*psf = calloc(1, sizeof (prsecflags_t))) == NULL)
if (read(fd, *psf, sizeof (prsecflags_t)) ==
sizeof (prsecflags_t))
+ roundup(sizeof (prsecflags_t), sizeof (Word))
prsecflags_t psecflags;
error = elfnote(vp, &offset, NT_SECFLAGS, sizeof (prsecflags_t),
prgetsecflags(proc_t *p, prsecflags_t *psfp)
prsecflags_t ret;
vap->va_size = sizeof (prsecflags_t);