summaryrefslogtreecommitdiff
path: root/proc.h
AgeCommit message (Collapse)AuthorFilesLines
2015-12-17proc: Add function to execute process with argv listVadim Kochan1-0/+1
Add proc_exec function which executes given process with argv list via fork + execvp. It allows to replace 'system' call approach which is used for invoking cpp and securely extend it with additional options like -D. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2015-07-17flowtop, netsniff-ng: Move process name extraction to own functionTobias Klauser1-0/+3
flowtop and the netsniff-ng's netlink message dissector both need to get the process name for a pid from /proc/<pid>/exe, thus move that functionality to an own function. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2013-06-04proc: move out process specific management functionsDaniel Borkmann1-0/+8
Move them out of xutils, so that we can maintain them separately. Also simplify things a bit. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
9logplain -rw-r--r--ib_hdrs.h4989logplain -rw-r--r--ib_mad.h27924logplain -rw-r--r--ib_marshall.h2025logplain -rw-r--r--ib_pack.h9047logplain -rw-r--r--ib_pma.h5579logplain -rw-r--r--ib_sa.h16914logplain -rw-r--r--ib_smi.h5633logplain -rw-r--r--ib_umem.h3577logplain -rw-r--r--ib_umem_odp.h5300logplain -rw-r--r--ib_verbs.h100225logplain -rw-r--r--iw_cm.h8793logplain -rw-r--r--iw_portmap.h7688logplain -rw-r--r--mr_pool.h954logplain -rw-r--r--opa_port_info.h15063logplain -rw-r--r--opa_smi.h4417logplain