Commit Graph

9904 Commits

Author SHA1 Message Date
christos
21a5b878f0 gcc-4.5 is picky about potential negative indexes. appease it. 2011-08-16 16:45:20 +00:00
christos
23bcf1ad25 remove gcc-4.5 hacks 2011-08-16 16:37:07 +00:00
mbalmer
0813ba11d0 Fix some typos. 2011-08-16 14:29:16 +00:00
christos
0d33c75c01 use memcpy to avoid type punning. 2011-08-16 12:49:13 +00:00
christos
0f2de03a73 remove gcc-4.5 hack and check fileno instead. 2011-08-16 12:39:29 +00:00
christos
6d3347a9d8 Avoid non-literal format strings 2011-08-16 10:39:31 +00:00
christos
d5189d25a6 avoid non-literal format strings 2011-08-16 08:33:46 +00:00
christos
73de74d401 document non-literal format string (unsafe) 2011-08-16 08:18:19 +00:00
christos
a0ca34f556 document non-literal format 2011-08-16 08:04:17 +00:00
christos
6f0b276b18 fix non-literal strings 2011-08-16 08:02:18 +00:00
christos
982a21784c - no need for gcc-4.5 hacks
- document non literal format
2011-08-16 07:52:32 +00:00
wiz
8e6d328065 Re-order `usage' alphabetically;
rename option arguments in the manpage's `SYNOPSIS' section to
match those from `usage' (not the other way around; the `usage'-line
(and other parts of makefs.c) contain the correct names);
minor punctuation improvements.

From Snader_LB.
2011-08-15 14:45:01 +00:00
wiz
4db9004657 Re-order and synchronize options listed in manpage (`SYNOPSIS' and
text) as well as `usage'-line; several punctuation improvements.
From Snader_LB.
2011-08-15 14:43:17 +00:00
wiz
d91834d02d Sync usage with SYNOPSIS. 2011-08-15 14:31:58 +00:00
wiz
8579c851c4 Sort options in SYNOPSIS. From Snader_LB. 2011-08-15 14:31:24 +00:00
tnn
c908dc3b47 Use proper capitalization. Reported on IRC. 2011-08-15 14:20:08 +00:00
dholland
c1b04cb467 Add compile-time assertion to make sure the previous doesn't go off the
rails sometime in the future.
2011-08-14 23:13:43 +00:00
christos
0b147c5d2b avoid type punned warnings 2011-08-14 17:57:44 +00:00
christos
5e788a3ae4 remove gcc type punned warnings 2011-08-14 17:54:55 +00:00
christos
7a3dc95e5c fix various gcc-4.5 warnings 2011-08-14 17:50:16 +00:00
christos
ef977d1767 use memcpy to avoid type punned warnings 2011-08-14 17:42:23 +00:00
mbalmer
c9922bae5e use my NetBSD email address 2011-08-12 08:06:23 +00:00
mbalmer
badcc9683d Make some functions static, use getprogname() instead of
'extern char *__progname'.
2011-08-12 08:02:33 +00:00
riastradh
772f45cfc9 Cache vattr in psshfs's setattr.
This means within the cache window, a setattr that wouldn't change the
remote file's attributes from our current view of them will not be
relayed to the server and wait for the server to answer.  Thus, e.g., a
process with a periodic timer interrupt that calls open(2) in a loop
can make progress with much higher probability than without caching.

XXX The test case doesn't work, so it's currently disabled.  It needs
to stop the child of sshd that is handling an sftp session, not sshd
itself, and it's not obvious how to do that.

ok pooka
2011-08-12 04:14:00 +00:00
uch
7d18226237 newfs_v7fs(8)'s -v and -P options are obsolete. changed to newfs(8) compatible -V option. 2011-08-10 11:31:49 +00:00
jmmv
dcba4bad03 Check (and fix) that unprivileged-user has been changed from _atf to _tests
in /etc/atf/common.conf.  Requested by martin@.
2011-08-09 18:24:46 +00:00
joerg
52dc944dae Requires -Wno-array-bounds with clang now. 2011-08-09 13:06:10 +00:00
joerg
975a569b2d Passes with the relaxed array boundary check in clang 2011-08-09 13:04:28 +00:00
manu
f8584de4e3 Fix warning 2011-08-09 07:00:13 +00:00
christos
b166834bb8 PR/45217: Martin Matuska: Use proper lengths to space pad fields and don't
overwrite them according to the spec.
2011-08-06 23:25:19 +00:00
jmmv
bbf950e188 Rename the _atf user to _tests. The _atf name will get obsoleted if/when
we migrate to Kyua (atf v2), so it's better to use a generic name that does
not depend on the specific implementation.  Also, this user has not gone
out yet into any stable release, so we can easily rename it.

Suggested by jruoho@.
2011-08-05 14:43:41 +00:00
gdt
c623d1003e Explain how to use -e -v without -o to see the current options.
Caution that installing a new primary bootstrap will reset options to
default values.
2011-08-03 14:47:28 +00:00
manu
fb0fa57f18 Fix creds passed to FUSE when requests are done on behalf of the kernel.
We previously sent uid/gid set to -1, we now set it to 0.
2011-08-02 14:53:38 +00:00
matt
d84c971f21 Break up list of directories by first letter. 2011-08-01 23:19:52 +00:00
mbalmer
631d5867a0 According to the Oxford Dictionary of Etymology, a wether is a male sheep
or ram.
2011-08-01 12:28:53 +00:00
uch
876775fb1a regen 2011-07-24 09:00:06 +00:00
uch
7ce939b3e2 v7fs rump support 2011-07-24 08:55:28 +00:00
christos
63147c0e32 don't set flags in the wrong fields. 2011-07-24 01:35:15 +00:00
wiz
fc4d0f871a Bump date for previous, fix typo. 2011-07-22 13:04:00 +00:00
joerg
29d01baadc Allow cross-compiling from Linux 2011-07-19 18:29:41 +00:00
tron
12aec09384 Re-enable v7fs support in the tools version of "makefs" after the
issues have been fixed by Alan Barrett. Tested under Mac OS X.
2011-07-18 22:52:37 +00:00
tron
d341b47a1c Define "USE_V7FS" in the makefile of the directory with the actual source. 2011-07-18 21:22:55 +00:00
tron
043cc21d99 Don't include v7fs support into tool version of "makefs" because it
breaks the build.
2011-07-18 17:15:51 +00:00
tron
2c0999f3fa Fix broken error check found by GCC 4.5. 2011-07-18 17:15:07 +00:00
tron
b166bb160f Don't include v7fs support into tool version of makefs because it
breaks the build.
2011-07-18 17:15:06 +00:00
uch
dd9e830956 v7fs(7th edition(V7) file system) support. 2011-07-18 08:58:38 +00:00
joerg
3eb244d801 Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
plunky
ee76f29c49 rcconf_is_set takes a tuple of <script> <variable>, so add
in a couple of missing script names

	network ip6forwarding
	sysctl defcorename

and remove the trailing "sysctl"
2011-07-14 09:35:24 +00:00
plunky
0067012e91 introduce rcvar_is_enabled to test if a rcvar is enabled
use this instead of rcconf_is_set to warn about superseded
rc.d scripts, to silence spurious warnings produced before
/etc/defaults/rc.conf script was updated.

(spurious warnings noted by Martin Husemann)
2011-07-14 09:31:19 +00:00
dholland
2a4f285a6d Minor cosmetic fixes, no semantic changes. (object file diffs have been
checked)
2011-07-10 07:54:49 +00:00