summaryrefslogtreecommitdiff
path: root/org.tcpdump.chmod_bpf.plist
diff options
context:
space:
mode:
authorguy <guy>2008-05-28 02:14:10 +0000
committerguy <guy>2008-05-28 02:14:10 +0000
commitf8c1a3770e5ac8553eef687bbde72ae9da5a6e23 (patch)
tree009260bcf09ce7729cd9eaa02db3d6ac9a1326ef /org.tcpdump.chmod_bpf.plist
parent720a1e8328942073fef438cec8628b8d829b59cb (diff)
downloadlibpcap-f8c1a3770e5ac8553eef687bbde72ae9da5a6e23.tar.gz
Add a script to change the permissions of /dev/bpf*, and a launchd plist
for it, for Mac OS X 10.4 and later. (The script could be useful for BPF-based systems that don't use devfs as well.) We're not installing it at this point; that might happen later.
Diffstat (limited to 'org.tcpdump.chmod_bpf.plist')
-rw-r--r--org.tcpdump.chmod_bpf.plist16
1 files changed, 16 insertions, 0 deletions
diff --git a/org.tcpdump.chmod_bpf.plist b/org.tcpdump.chmod_bpf.plist
new file mode 100644
index 00000000..cfe486da
--- /dev/null
+++ b/org.tcpdump.chmod_bpf.plist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>org.tcpdump.chmod_bpf</string>
+ <key>OnDemand</key>
+ <false/>
+ <key>Program</key>
+ <string>/usr/local/bin/chmod_bpf</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/usr/local/bin/chmod_bpf</string>
+ </array>
+</dict>
+</plist>