Commit Graph

46 Commits

Author SHA1 Message Date
kleink
9c56c84e7b printf() format warnings for size_t != int; from Peter Seebach in PR bin/8214. 1999-08-17 15:05:15 +00:00
bgrayson
15e449f40e Initial support for rfilter and wfilter namespaces, in pt_filter.c.
Also, recur into ./examples, to grab the tutorial and example configurations.
1999-08-16 06:55:27 +00:00
bgrayson
854e99c51a Initial checkin. Contains some tutorial-like examples, plus configurations. 1999-08-16 06:42:48 +00:00
bgrayson
ac273e7f35 Changes include:
- user mounts of fs namespace are now possible.
- if read/write access is not possible, fall back to read-only.
- use lose_credentials() as a common method to change UID etc.
  (it is also used by the rfilter and wfilter code)
- some KNF changes, while I was here.
1999-08-16 06:38:12 +00:00
bgrayson
5abfdc83cb Make life a little easier: warn if the configuration file is not an absolute
path, and under DEBUG, keep stderr around.
1999-08-16 06:34:50 +00:00
mycroft
f6590b22cd Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
bgrayson
4c1c1b0439 Slightly more useful error messages 1999-03-04 03:02:43 +00:00
thorpej
1ef8f44cd4 We use regexp(3), better link w/ libcompat! 1998-09-18 22:14:46 +00:00
lukem
786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
kleink
3b80d582e2 Include <sys/time.h>, which is the canonical location of the select()
prototype and assorted data type definitions.
1998-02-17 11:38:26 +00:00
perry
34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
christos
1af8810050 Remove -lcompat; not needed. 1998-02-04 10:24:13 +00:00
perry
96bf04cc4d change <strings.h> to <string.h> to fix compiler warning 1998-02-03 03:32:43 +00:00
christos
e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
enami
0ac5bcaa77 Cosmetic changes:
- Use syslog(..., "...%m") instead of syslog(..., "...%s",
  strerror(errno)).
- Don't put a simple and single statement into a block.
- Indent continuation line by four space.
- Add an empty line at the beginning of a function if it doesn't have
  local variable.
- Use err() or errx() instead of fprintf(stderr, "progname: ....\n")
  and exit() (there was two place left).
- Use MOUNT_PORTAL, which is defined as "portal" in sys/mount.h,
  instead of using "portal" directly.
- Fold long line to fit column < 80.
1997-09-21 02:35:40 +00:00
lukem
4b0b1ba833 resolve conflicts from lite-2 merge 1997-09-16 12:32:03 +00:00
mrg
52ff5d8fee make these compile on the alpha after WARNS=1. 1997-09-16 08:37:01 +00:00
lukem
4eb9f40a9c * KNF-ify
* update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
1997-09-15 05:58:22 +00:00
gwr
10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
jtc
6397db2ddd Add const qualifier to mopts table 1996-04-13 01:30:59 +00:00
mrg
e5e3e0877a add a SIGTERM handler to unmount the portal fs when killed. also put the
right PID in the mount table.  from pr#893 <kstailey@leidecker.gsfc.nasa.gov>
1996-03-23 02:37:48 +00:00
pk
d014b18a86 Remove junk (from Masanobu Saitoh; PR#1378). 1995-08-18 15:01:19 +00:00
cgd
061f2a0c7e fd_set *'s really aren't compatible with timeval *'s 1995-06-08 12:38:07 +00:00
mycroft
b5e03e8dd4 Fix debugging printf. 1995-06-06 19:54:30 +00:00
mycroft
d6b0d0788c Use setegid() explicitly, just to be safe. 1995-06-06 19:53:34 +00:00
mycroft
7a4a8b6c81 Make sure the SIGHUP handler is actually set. Zero the fd_set before using
it.
1995-06-06 19:51:19 +00:00
mycroft
9cd5391535 Use inet_aton(), not inet_addr(). 1995-05-21 15:33:22 +00:00
cgd
555d4b510e slightly clean rcs ids, etc. 1995-04-23 10:33:03 +00:00
cgd
0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd
06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +00:00
mycroft
ea7b5d4ec6 Eliminate uses of some obsolete functions. 1994-09-23 14:26:58 +00:00
deraadt
48c91e8043 do not need -I/sys 1994-08-03 21:07:10 +00:00
pk
928beac1da X compilation 1994-06-10 17:33:55 +00:00
mycroft
5922d844af Update from 4.4-Lite, with local changes. 1994-06-08 19:23:02 +00:00
mycroft
ce8435c526 Add missing htons(), reported by Thorsten Lockert. 1994-05-30 09:55:56 +00:00
cgd
aa23b1931a kill warning 1994-04-13 07:33:05 +00:00
cgd
1ac7c7adaa don't need -lutil 1994-01-28 00:31:32 +00:00
jtc
48077f51c5 fix formatting 1994-01-24 19:26:13 +00:00
cgd
6de18bb07c update from jsp; add 'priv' keyword to get privileged ports 1994-01-14 19:47:02 +00:00
mycroft
6d03c98781 Remove some notdefage and link with libutil so we properly daemonize. 1994-01-13 17:45:33 +00:00
mycroft
e1a2193974 Fix path name parsing. 1994-01-13 17:43:39 +00:00
cgd
aabb3f0f84 it uses the old regex stuff, so include -lcompat 1994-01-12 23:20:50 +00:00
mycroft
7c70969fd0 Get CFLAGS right so the blasted thing is optimized. 1994-01-12 20:16:35 +00:00
cgd
a70a31f7fa mount_portal command, from jsp 1994-01-12 20:01:45 +00:00
cgd
b8b8502974 mount_portal command, from jsp 1994-01-12 20:01:27 +00:00