christos
2c6eadc9ce
Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
...
programs that did not compile before.
2005-06-27 01:00:04 +00:00
xtraeme
a8d83732cf
Kill __P(), use ANSI function declarations, constify; WARNS=3.
2005-02-09 13:57:57 +00:00
erh
fdd16c549b
Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
...
device nodes into absolute paths before using them.
2005-01-31 05:19:18 +00:00
itojun
466ceae082
unifdef -DINET6. getaddrinfo will always be there, so there's no point in
...
keeping old code. moreover old code does not traverse list of DNS-returned
addresses.
2004-03-01 23:01:18 +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
salo
b75abedac4
netbsd.org->NetBSD.org
2003-07-26 19:38:45 +00:00
itojun
d90a2369ab
use bounded string ops
2003-07-13 07:39:39 +00:00
atatat
fc035bc8fd
Allow _ in tags
2003-07-12 23:02:59 +00:00
jdolecek
1edd42a9d2
move getmntopts(3) to libutil, build and install also it's manpage
...
bump libutil minor
adjust individual mount_*/Makefile to use libutil getmntopts(3)
2003-03-22 12:43:57 +00:00
jdolecek
899bce0921
use <> rather than "" for #include mntopts.h
2003-03-22 11:15:45 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
5964b80cf8
Use more markup.
2002-10-01 13:52:49 +00:00
wiz
2fb4b1db52
New sentence, new line. By Robert Elz with minimal fixes.
2002-10-01 13:40:23 +00:00
christos
9f9ee29713
MNT_GETARGS support
2002-09-21 18:43:31 +00:00
mycroft
75cf9dce87
select() -> poll()
2002-09-21 18:24:40 +00:00
lukem
7360d7b6ae
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
2002-08-19 10:16:51 +00:00
grant
6742cb1812
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:36:17 +00:00
lukem
2c1cfc8e8c
- in <bsd.files.mk>, don't clear FILES after using it, as that prevents
...
make -V FILES
from being useful (and given that every other variable can be
extracted using make -V, the behaviour was unusually inconsistent
given that the original reason for clearing it doesn't seem to be
relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
(and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
atatat
a63801ede0
Minor tweak to make portalfs work on 64 bit ports.
2002-02-11 07:32:56 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
bgrayson
60174aaabf
Fixed minor typo in example for cksum /tmp/rc
2001-12-11 15:46:26 +00:00
bgrayson
5a5f9c9c20
Removed 'chmod +x cvs.sh' from instructions -- the script is now installed executable by the Makefile
2001-12-11 15:44:11 +00:00
bgrayson
e87372ade5
Changed Makefile to install scripts as executable (SCRIPTS, not as FILES), and
...
also did name change on them to preserve .sh suffix
2001-12-11 15:39:10 +00:00
bgrayson
3952d2905e
Renamed so that .sh suffix is not stripped on install
2001-12-11 15:35:53 +00:00
wiz
8d4a9e3b24
Use .Pp for paragraphs, sort sections, use standard headers, and a markup fix.
2001-11-16 12:01:22 +00:00
wiz
4ce43ae0cd
Whitespace nits
2001-11-16 10:25:42 +00:00
lukem
fa02ec4ccb
fix a -Wshadow warning
2001-11-01 07:48:08 +00:00
atatat
39c4f538a3
Use the new sh script instead of the (now defunct) pl one
2001-10-15 17:34:50 +00:00
atatat
04fb6977ef
Install the shell script instead of the perl script
2001-10-12 16:19:30 +00:00
atatat
c9281cb7dd
Bye bye, perl script.
2001-10-12 16:19:05 +00:00
atatat
149865a4d7
Remove the perl script from the mount_portal example for cvs and
...
replace it with a regular sh script.
2001-10-12 16:15:26 +00:00
atatat
9305145646
Add another example that shows how to map a cvs server into your local
...
file system so that you can pull random files out of it easily.
2001-10-11 18:41:11 +00:00
wiz
73f545bb5b
Drop arguments of .Os.
2001-06-05 11:22:41 +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
itojun
1bc3ecd398
support IPv6. PR 11858 from ura@hiru.aoba.yokohama.jp
2000-12-31 06:03:52 +00:00
jdolecek
73367a6dad
convert to use regex (it used compat regexp previously), g/c now unneded stuff
2000-11-06 14:05:54 +00:00
jdolecek
252a9be46b
use mkdtemp(3) instead of mktemp(3)
...
call daemon(3) before the mount(2) call, so that we can fill correct pid
to mount tag argument (previous code used getpid() + 1!)
2000-11-06 14:00:38 +00:00
jdolecek
7e315846e9
put in some commas, remove newlines
2000-11-06 13:53:53 +00:00
jdolecek
bb40143374
fix typo
2000-11-06 12:34:25 +00:00
thorpej
0ffb5bb96d
Use CMSG_*() correctly when sending file descriptors.
2000-06-05 16:30:43 +00:00
bgrayson
2a09ca64fd
Added sysctl examples (read-only sysctls for now)
2000-01-17 07:22:45 +00:00
bgrayson
4760c9fa1b
Fix bug where NULL pointer wasn't checked before dereferencing
2000-01-17 07:21:54 +00:00
bgrayson
417d43539a
Remove unneeded syslog() at unmount
2000-01-17 07:21:25 +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
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