Commit Graph

7962 Commits

Author SHA1 Message Date
mjf bf77574aa2 Delete advertising clause. 2007-01-09 13:53:31 +00:00
pooka 6ee2e9c031 Mark invalid attributes as invalid. Fixes stuff such a cp'ing files
when cp uses mmap().  Also makes attributes appear correct.
2007-01-09 12:34:20 +00:00
wiz 85181e787c New sentence, new line. Sort SEE ALSO. Punctuation nit. 2007-01-08 07:26:40 +00:00
wiz c598f926c7 Drop trailing space. 2007-01-08 07:15:06 +00:00
pooka 94f62e9b01 properly carry fileid for directory entries, fixes pwd 2007-01-07 21:59:27 +00:00
pooka d66d221ae1 man page for mount_psshfs 2007-01-07 19:56:26 +00:00
pooka 5c80f85b24 use UBC by default 2007-01-07 19:33:23 +00:00
pooka 7f864d6007 * Adapt to openssh standard of timestamps in file attributes. Maybe
should make this work with the IETF standard some day, also.
* kludge with writes and permissions a bit to be able to flush data
  cached in ubc to files which are already with r/o permissions in
  the backend
2007-01-07 19:31:48 +00:00
pooka c53a62f5e3 fix link count calculation for directories 2007-01-07 19:29:55 +00:00
dogcow bee2705c99 %d -> %ld, so that building on alpha doesn't fail. (also print more useful
errors - x bytes written, should be y.)
2007-01-07 04:16:57 +00:00
daniel 83aa19e1b0 Correctly retrieve information from an ext2fs inode's dinode. Fixes
PR 21302.

Ack by christos.
2007-01-06 23:06:18 +00:00
dsl 2e4f7d3057 Document bootxx_fat16 with a short description of why it differs from
bootxx_msdos.
2007-01-06 20:51:54 +00:00
kardel dbbbd5d806 import NTP 4.2.4 2007-01-06 19:45:21 +00:00
pooka a67e4ce37f * do mount as a forward operation instead of a callback
* process -o args for mount
2007-01-06 18:25:19 +00:00
dsl eacd963375 Support for non-512 byte media.
Automatically enable writes to the 'labelsector' if necessary.
Detect and recover from problems with the write-protected 'labelsector'
  stopping writes to nearby sectors when the non-raw disk device is used.
Support the installation of 512-byte pbr boot code (eg fatboot).
Verify that there is enough reserved space in the bpb (if not all zeros) to
avoid overwriting the start of FAT filesystems.
2007-01-06 10:21:24 +00:00
rillig 7eb2c18b51 Fixed gcc warnings about comparison between signed and unsigned, as well
as one case where a variable had been used for two different purposes
(which also required different types).
2007-01-02 16:00:46 +00:00
pooka d584a8d23a SUSv3 says: should the implementation not support directory unlinking,
unlink shall fail with EPERM and the errno of the failure shall be EPERM
2007-01-01 21:32:12 +00:00
pooka 75a62546e6 Makefile.inc to get BINDIR right 2006-12-29 17:42:52 +00:00
pooka 81b905fdbb if MKPUFFS=yes is given, build & install mount_psshfs (default: no) 2006-12-29 15:52:20 +00:00
pooka c3ef8ea5d0 puffs sshfs, an sshfs implementation built on top of the puffs
continuation framework
2006-12-29 15:35:39 +00:00
wiz 0b5301abc7 Add RCS Id. 2006-12-29 10:39:59 +00:00
wiz 6ecddff523 Add RCS Id. Os needs no argument. Remove unnecessary .br
in SYNOPSIS. New sentence, new line. Use An for author name. Use standard headers.
2006-12-29 10:39:11 +00:00
mouse ebc746c114 Very first import of the source-address-based routing pseudo-device,
before any cleanup at all, per discussion with perry@.
2006-12-29 04:20:14 +00:00
xtraeme d9e9fef5b7 More NQNFS fallout (hi yamt!). 2006-12-28 04:17:51 +00:00
wiz 3ed1aa9185 Spell "separate" correctly. From Zafer Aydogan. 2006-12-25 18:39:47 +00:00
ad 9f07c24ec6 lockstat: improve reporting slightly, and fix a bug where the command
could spin while resorting lists.
2006-12-25 11:57:40 +00:00
wiz 5c1e8d4638 Reword OF3 restrictions, ok tsutsui@.
Bump date.
2006-12-23 19:50:20 +00:00
wiz b5bca6912d Bump date for previous. Remove trailing whitespace. 2006-12-23 09:48:47 +00:00
wiz b2801fe843 Sync usage with man page. 2006-12-23 09:16:38 +00:00
wiz 3cdde55f8e Use more markup, remove superfluous Ns calls. 2006-12-23 08:25:44 +00:00
wiz ace0a0e43c New sentence, new line. Improve English. 2006-12-23 07:47:15 +00:00
christos c20e20ce2a From Anon Ymous:
- add __unused
- fix volatile
2006-12-20 16:33:34 +00:00
agc fa94897003 + some minor cosmetic changes
+ rather than using global variables, accessed all over the place, create
a local structure, and pass it down.

+ add a -p argument to denote a prefix, so that it's possible to record
a different directory hierarchy from the one that was scanned.  One
typical use would be:

	# ./veriexecgen -v -d /usr/dest/i386 -a -p /usr/dest/i386 -r -o fingers

to create a fingerprint database called fingers from the files located
in the /usr/dest/i386 hierarchy, but without the leading /usr/dest/i386
prefix:

	# Generated by agc, Tue Dec 19 13:10:34 2006
	/bin/domainname SHA256 12622c8f3698e51f090abf84ce81aaaaa1ed72135291b41a3e7d6c7b6a2a9847
	/bin/chmod SHA256 5c3f8fec48601e0eaf7f47522ad8ff9fabb442b123ada97a71de285b4f6bf658

+ make veriexecgen into a host tool
2006-12-19 21:21:28 +00:00
christos 9450025adc from Anon Ymous: compile with -Wextra 2006-12-18 21:03:29 +00:00
christos c2ea993397 Convert a "(void)&" to a volatile declaration. Also fix the
intstructions[] table terminator in gsp_inst.c so this will compile
with -Wextra.
2006-12-18 20:12:21 +00:00
christos d0e5eb6a35 from Anon Ymous:
Remove a "(void)&" construction: iop is used by the parent
and always set after the vfork().  Also flag some parameters __unused
so this will compile with -Wextra.
2006-12-18 20:11:10 +00:00
bouyer 3697550e70 Don't depend on lubutil if we're building host tools. Fix tools build on
non-NetBSD hosts.
2006-12-16 12:59:16 +00:00
ad 9a12b97e85 Nx 5.0 -> Nx 4.0 2006-12-15 20:25:55 +00:00
he f6b748e0c7 Fix mtree to release the returned strings from flags_to_string()
following the move of it from bin/ls to libutil and the change of
it to return malloc()ed memory.
2006-12-14 20:21:47 +00:00
he 0a97c3f688 Complete the move of string_to_flags() and flags_to_string() from the
bin/ls sources to libutil:
 o Bump libutil minor version number
 o Fix uses to include <util.h> to pick up the function definitions
 o Fix most uses of flags_to_string() to release the now-malloc()ed result
2006-12-14 20:09:35 +00:00
he 29ff6ed16a The "#ifdef UNUSED_BLOCK" in stat_flags.c wasn't so unused after
all -- it was used by the mtree source.  So, instead do an "#ifdef
MTREE", and define that one when building mtree.
2006-12-14 17:54:19 +00:00
reed ce2634c53e This only has one option so get rid of plural "s". 2006-12-14 02:34:32 +00:00
reed 623f8d5ade Add a useful example. 2006-12-14 02:33:18 +00:00
macallan 55d5c3fe24 properly display OF variables that aren't strings 2006-12-10 03:06:25 +00:00
rillig a5acac5748 Added a reference to passwd(1), which is useful to later change a
password.
2006-12-06 21:49:17 +00:00
lukem 287af45b8d Crank copyright.
Whitespace & linewrap consistency tweaks.
2006-12-05 10:26:28 +00:00
lukem 24891c430b Fix method to find pf.os so it works with '-s etc.tgz'.
PR 35185 by Valeriy E. Ushakov.

Don't bother to find pf.conf first; the code was a noisy no-op.
2006-12-05 10:18:41 +00:00
christos 9a150e0221 revert debug flags I accidentally committed before. 2006-12-05 03:52:02 +00:00
agc 221d869ea3 Minor cosmetic changes:
1. use EXIT_SUCCESS and EXIT_FAILURE, rather than 0 or 1, throughout
2. add some comments
3. use descriptive names for variables, so that their use is easily
gleaned.
2006-12-04 21:22:40 +00:00
agc a1ab0bea62 Normally, veriexecgen will treat an error such as a dangling symlink,
or an inability to get the real path, as fatal.

Be a bit more verbose about this in the default case - tell the user
which directory entry caused the failure.

Also introduce a new -W flag, which will warn the user about the
error, but will still continue processing - it treats errors as
warnings, and allows a signatures file to be built.
2006-12-04 07:06:56 +00:00