Home
last modified time | relevance | path

Searched refs:proc_t (Results 1 – 12 of 12) sorted by relevance

/external/ltp/tools/top-LTP/proc/
Dreadproc.h38 typedef struct proc_t { struct
140 } proc_t; argument
170 extern proc_t** readproctab(int flags, ... /* same as openproc */ );
178 extern proc_t* readproc(PROCTAB* PT, proc_t* return_buf);
179 extern proc_t* ps_readproc(PROCTAB* PT, proc_t* return_buf);
184 extern void look_up_our_self(proc_t *p);
188 extern void freeproc(proc_t* p);
Dcompare.c79 static int cmp_ ## NAME(proc_t** P, proc_t** Q) { \
84 static int cmp_ ## NAME (proc_t** P, proc_t** Q) { \
145 int (*fun) (proc_t **, proc_t **); /* pointer to cmp_key */
Dreadproc.c70 void freeproc(proc_t * p) in freeproc()
91 static void status2proc(const char *S, proc_t * restrict P) in status2proc()
189 static void stat2proc(const char *S, proc_t * restrict P) in stat2proc()
232 static void statm2proc(const char *s, proc_t * restrict P) in statm2proc()
385 proc_t *readproc(PROCTAB * PT, proc_t * p) in readproc()
509 proc_t *ps_readproc(PROCTAB * PT, proc_t * p) in ps_readproc()
607 void look_up_our_self(proc_t * p) in look_up_our_self()
624 proc_t **readproctab(int flags, ...) in readproctab()
627 proc_t **tab = NULL; in readproctab()
648 tab = xrealloc(tab, (n + 1) * sizeof(proc_t *)); /* realloc as we go, using */ in readproctab()
Dstatus.h8 extern const char * status(const proc_t *restrict task);
Dstatus.c12 const char *status(const proc_t * restrict task) in status()
Descape.h20 extern int escape_command(char *restrict const outbuf, const proc_t *restrict const pp, int bytes, …
Descape.c146 const proc_t * restrict const pp, int bytes, int glyphs, in escape_command()
/external/ltp/tools/top-LTP/
Dtop.h99 static int sort_ ## f (const proc_t **P, const proc_t **Q) { \
104 static int sort_ ## f (const proc_t **P, const proc_t **Q) { \
109 static int sort_ ## f (const proc_t **P, const proc_t **Q) { \
112 static int sort_ ## f (const proc_t **P, const proc_t **Q) { \
Dtop.c181 static int sort_P_TME(const proc_t ** P, const proc_t ** Q) in SCB_NUMx()
209 static int sort_P_CMD(const proc_t ** P, const proc_t ** Q) in SCB_NUM1()
351 sizeof(Hertz) * 8, Page_size, Cpu_tot, sizeof(proc_t) in bye_bye()
772 static int good_uid(const proc_t * restrict const pp) in good_uid()
910 static void prochlp(proc_t * this) in prochlp()
1017 static proc_t **procs_refresh(proc_t ** table, int flags) in procs_refresh()
1019 #define PTRsz sizeof(proc_t *) in procs_refresh()
1020 #define ENTsz sizeof(proc_t) in procs_refresh()
1022 proc_t *ptsk = (proc_t *) - 1; // first time, Force: (ii) in procs_refresh()
3155 static proc_t **summary_show(void) in summary_show()
[all …]
/external/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf890 type proc_t, proc_type;
1411 allow proc_t fs_t:filesystem associate;
1412 allow proc_t noxattrfs:filesystem associate;
1413 typeattribute proc_t file_type;
1414 typeattribute proc_t mountpoint;
1415 typeattribute proc_t filesystem_type;
1416 allow proc_t self:filesystem associate;
1441 allow kernel_t proc_t:dir { read getattr lock search ioctl };
1442 allow kernel_t proc_t:{ lnk_file file } { read getattr lock ioctl };
1484 allow kernel_t proc_t:dir search;
[all …]
/external/selinux/python/sepolgen/tests/test_data/
Daudit.log514 …context=staff_u:staff_r:staff_evolution_alarm_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
516 …context=staff_u:staff_r:staff_evolution_alarm_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
1345 …no=-268435022 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
1600 …context=staff_u:staff_r:staff_evolution_alarm_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
1602 …context=staff_u:staff_r:staff_evolution_alarm_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
Dhttpd.log3705 …54 scontext=staff_u:staff_r:staff_thunderbird_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
3707 …54 scontext=staff_u:staff_r:staff_thunderbird_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
3727 …54 scontext=staff_u:staff_r:staff_thunderbird_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
3729 …54 scontext=staff_u:staff_r:staff_thunderbird_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
9306 …context=staff_u:staff_r:staff_evolution_alarm_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
9308 …context=staff_u:staff_r:staff_evolution_alarm_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
9804 …54 scontext=staff_u:staff_r:staff_thunderbird_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
9806 …54 scontext=staff_u:staff_r:staff_thunderbird_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
10634 …268435452 scontext=system_u:system_r:myapache_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
10794 …54 scontext=staff_u:staff_r:staff_thunderbird_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
[all …]