diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-03-24 18:32:15 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-03-24 18:32:15 +0000 |
commit | 398e06e8751f75135c9ca6f4020a79b789330c22 (patch) | |
tree | 05bae5b42974ee37aeb7fe1cd62aae3830b80cf0 /dumpcap.c | |
parent | 3020bd9110253e5163920b7846f834232a135bff (diff) |
Fix a few typos.
svn path=/trunk/; revision=24724
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -2365,10 +2365,10 @@ main(int argc, char *argv[]) /* capabilities; Drop all other capabilities; */ /* - If not -w (ie: doing -S or -D, etc) run to completion; */ /* else: after pcap_open_live() in capture_loop_open_input() */ - /* drop all capabilities (NET_RAW and NET_ADMIN) */ + /* drop all capabilities (NET_RAW and NET_ADMIN); */ /* (Note: this means that the process, although logged in */ /* as root, does not have various permissions such as the */ - /* ability to bypass file access permissions. */ + /* ability to bypass file access permissions). */ /* XXX: Should we just leave capabilities alone in this case */ /* so that user gets expected effect that root can do */ /* anything ?? */ @@ -2377,17 +2377,17 @@ main(int argc, char *argv[]) /* Action: */ /* - If not -w (ie: doing -S or -D, etc) run to completion; */ /* else: after pcap_open_live() in capture_loop_open_input() */ - /* drop same (euid=ruid). (ie: keep suid until after */ - /* pcap_open_live */ + /* drop suid root (set euid=ruid).(ie: keep suid until after */ + /* pcap_open_live). */ /* */ /* 5. Running as suid root (euid=0, ruid=n); Using libcap. */ /* Action: */ /* - Near start of program: Enable NET_RAW and NET_ADMIN */ /* capabilities; Drop all other capabilities; */ - /* Drop suid privileges (euid=ruid). */ + /* Drop suid privileges (euid=ruid); */ /* - If not -w (ie: doing -S or -D, etc) run to completion; */ /* else: after pcap_open_live() in capture_loop_open_input() */ - /* drop all capabilities (NET_RAW and NET_ADMIN) */ + /* drop all capabilities (NET_RAW and NET_ADMIN). */ /* */ /* XXX: For some Linux versions/distros with capabilities */ /* a 'normal' process with any capabilities cannot be */ |