Commit Graph

18 Commits

Author SHA1 Message Date
christos
3e4993b396 fix unused variable warnings. 2013-10-19 01:09:58 +00:00
pooka
01d79aae7e The kernel socket isn't used by any of the providers, and it's a bit
hard to imagine how it could be used, so get rid of it.
2007-07-02 18:07:44 +00:00
xtraeme
a8d83732cf Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-09 13:57:57 +00:00
agc
276d62f603 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
itojun
d90a2369ab use bounded string ops 2003-07-13 07:39:39 +00:00
lukem
415d1abdd8 be consistent (both internally and with other programs):
log_err		fatal errors
	log_warning	non-fatal errors & warnings
	log_debug	debug messages (#ifdef DEBUG)
2001-01-10 03:33:16 +00:00
bgrayson
0d39e62e79 Fix security problem noticed by Alaric Williams:
when giving up root credentials, I was setting the egid and euid,
  and forgot to also do gid and uid.
2000-01-15 06:21:40 +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
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
lukem
4eb9f40a9c * KNF-ify
* update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
1997-09-15 05:58:22 +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
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
mycroft
5922d844af Update from 4.4-Lite, with local changes. 1994-06-08 19:23:02 +00:00
cgd
aa23b1931a kill warning 1994-04-13 07:33:05 +00:00
cgd
a70a31f7fa mount_portal command, from jsp 1994-01-12 20:01:45 +00:00