214602 Commits

Author SHA1 Message Date
abs
2de37ae37b PR/47178 from Bug Hunting
src/games/wtf/wtf:
- Correct `usage' (to match new `SYNOPSIS' from man page);
- augment comment on quering pkgsrc's help facility;
- correct interpretation of pkgsrc' help facility query result.

src/games/wtf/wtf.6:
- enhance `SYNOPSIS', document description (`.Dd'), and overal
  program description;
- augment description about quering pkgsrc's help facility;
- improve wording;
- augment `HISTORY' section;
- bump date.
2012-11-20 12:40:54 +00:00
abs
6f08f9dbdd PR/47167
ls.1:
- Sort options in `SYNOPSIS', the option list, and texts within
  the man page;
- improve wording;
- improve macro usage;
- use more consistency regarding (locations for) information about
  which options override which;
- cross-reference `-d' and `-R';
- simplify description of `-k', removing redundant and unneeded
  information;
- sort entry type list (but leave `-a' and `-A' as they are, given
  their meaning);
- correct / augment description of `BLOCKSIZE' environment variable
  in `ENVIRONMENT' section;
- bump date.

ls.c:
- Sort options in `usage';
- augment comment about when to figure out block size.
2012-11-20 12:37:29 +00:00
msaitoh
386462fd73 Pass correct wait channel string. 2012-11-20 11:06:27 +00:00
apb
922779be95 Make the test for infinite recursion in PRINTOBJDIR more specific,
and make the error case more easily recognisable.

Now "make -V '${PRINTOBJDIR}'" works instead of misinterpreting the "-V"
as infinite recursion.
2012-11-20 10:43:21 +00:00
agc
d9b9fb0ba9 descend into netpgpverify test directory too 2012-11-20 08:02:06 +00:00
agc
60f841b251 add test files for netpgpverify 2012-11-20 08:00:33 +00:00
agc
72d743a692 Add tests for netpgpverify. 2012-11-20 07:55:52 +00:00
agc
9f95e6a2c4 add the directory for the netpgp header files 2012-11-20 05:29:12 +00:00
agc
672b8c9a7f Fix set lists after the merge of netpgpverify(1) and libnetpgpverify(3)
from the agc-netpgp-standalone branch.
2012-11-20 05:27:22 +00:00
agc
640eb22bcb Merge netpgpverify(1) and libnetpgpverify(3) from the
agc-netpgp-standalone branch.

Rewrite the netpgpverify(1) functionality from RFC4880 up.  This is a
completely new implementation, and uses its own bignum library derived
from libtommath.  Apart from libz and libbz2, it just uses its own
library and is self-contained - this makes it easier to embed, and to
use from scripting languages.

netpgpverify(1) now verifies all the signed files i've thrown at it,
and the added bonus of using no functionality from libcrypto - all of
its bignum functionality comes from its own libnetpgpverify.so.
netpgpverify(1) now verifies not only signatures on binary files, but
also signatures on text documents.  This fixes PR/46930.  Please don't
start me on the hoops I had to jump through to calculate the digests
on text files; trust me, you will regret it.

% supersize `which netpgpverify`
   text    data     bss     dec     hex filename
   4452     860      72    5384    1508 /usr/bin/netpgpverify
  79542    1408       0   80950   13c36 /usr/lib/libz.so.1
  43994     984     488   45466    b19a /usr/lib/libgcc_s.so.1
1318116   49644   69272 1437032  15ed68 /usr/lib/libc.so.12
  57253    4184       0   61437    effd /usr/lib/libbz2.so.1
 108726    1712       0  110438   1af66 /usr/lib/libnetpgpverify.so.4
  1612083    58792   69832   1740707   0x1a8fa3   total
%

% make t
env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -c verify b.gpg > output16
diff expected16 output16
rm -f output16
env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -c verify a.gpg > output17
diff expected17 output17
rm -f output17
env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -c verify gpgsigned-a.gpg > output18
diff expected18 output18
rm -f output18
env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -c verify NetBSD-6.0_RC2_hashes.asc > output19
diff expected19 output19
rm -f output19
...
env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -k dsa-pubring.gpg in2.asc > output45
diff expected45 output45
rm -f output45
env LD_LIBRARY_PATH=/usr/src/crypto/external/bsd/netpgp-standalone/lib/verify ./netpgpverify -k problem-pubring.gpg NetBSD-6.0_hashes.asc > output46
diff expected46 output46
rm -f output46
cd tests/netpgpverify && make && atf-run
atf2kyua: I: Removing stale Kyuafiles from /tmp/.XXXXXX.004966aa
atf2kyua: I: Converting /usr/src/crypto/external/bsd/netpgp-standalone/tests/netpgpverify/Atffile -> /tmp/.XXXXXX.004966aa/Kyuafile
t_netpgpverify:netpgpverify_rsa  ->  passed  [0.221s]
t_netpgpverify:netpgpverify_dsa  ->  passed  [0.117s]

2/2 passed (0 failed)
Committed action 19
%
2012-11-20 05:26:24 +00:00
rkujawa
a48b4338aa Forgot do add X-Surf IDE config. 2012-11-19 23:43:08 +00:00
rkujawa
2c437e11a3 Add X-Surf IDE. 2012-11-19 23:04:15 +00:00
rkujawa
ee80e2056c Note added X-Surf IDE support. 2012-11-19 22:57:45 +00:00
rkujawa
a4afbc1025 Note added IDE support. 2012-11-19 22:55:05 +00:00
rkujawa
62a8ce31f0 Regen configs. 2012-11-19 22:40:24 +00:00
rkujawa
8bb4c6efd3 Add (commented out for now) driver for X-Surf IDE. 2012-11-19 22:39:47 +00:00
rkujawa
4daf233dc0 Add X-Surf IDE driver. 2012-11-19 22:36:11 +00:00
rkujawa
6c20ab8ade Add support for byteswapping of bsr2/bsw2. Needed for X-Surf IDE (incoming). 2012-11-19 22:32:48 +00:00
njoly
c65ba2a0a3 Protect a few more quotes in chat script examples. 2012-11-19 22:31:34 +00:00
rkujawa
b53ade0bc2 Introduce WDC_CAPABILITY_NO_AUXCTL flag. For lame controllers that don't
have aux control registers (driver coming soon).
2012-11-19 22:22:56 +00:00
sjg
756a23da8b filemon_pid_check:
Avoid recursion, and hold a reader lock on p_reflock while we
check for filemon, and until we have p_pptr.

filemon_ioctl:
Do not allow FILEMON_SET_PID unless caller would be allowed
to ptrace the target pid.

filemon_wrapper_deinstall:
Do not touch syscalls if they no longer point to us, return EBUSY.

filemon_unload:
return EBUSY if filemon_wrapper_deinstall() fails.
2012-11-19 22:20:10 +00:00
christos
9638719987 only allocate if it would not fit in our buffer. 2012-11-19 19:41:31 +00:00
christos
c25982c7d1 fix bogus warning for zero-sized files. 2012-11-19 19:34:03 +00:00
martin
0b640008be Do not require tv_nsec to be != 0 but instead require equality with the
test value.
2012-11-19 16:07:56 +00:00
apb
b7f14c7e34 On second thoughts, don't run "rm -rf" in bsd.clean.mk. Instead,
document that CLEANFILES and CLEANDIRFILES must not contain
directory names.
2012-11-19 16:04:54 +00:00
apb
ba27b6db7b Use "rm -rf" instead of "rm -f" in bsd.clean.mk. This will
allow CLEANFILES or CLEANDIRFILES to contain directory names.
2012-11-19 15:14:27 +00:00
martin
daab85cca7 Use copyout to copy data from kernel out to userland!
Fixes PR kern/47217.
2012-11-19 15:01:17 +00:00
christos
f854d6154e Add void between the parenthesis. Why only vax complains? From martin. 2012-11-19 13:45:00 +00:00
jakllsch
762844de5e snprintb EXT2F_ROCOMPAT_SPARSESUPER as such. 2012-11-19 03:04:23 +00:00
jakllsch
59134e0eef - Add e2di_version, e2di_nblock_high, e2di_facl_high fields to ext2fs_dinode.
- Update i_e2fs_ aliases to match.

- ext2fs_bswap support for these ext2fs_dinode fields.

(e2di_version and e2di_facl_high replace previously reserved fields.
e2di_nblock_high was formerly e2di_nfrag and e2di_fsize, however these
are currently defined in e2fsprogs as only being relevant for HURD.)
2012-11-19 00:36:21 +00:00
jakllsch
d3a7475d25 Move i_e2fs_rdev define to be adjacent to the field it aliases. 2012-11-19 00:25:29 +00:00
pooka
505022ec4d regen 2012-11-18 21:20:16 +00:00
pooka
cb85005ba5 Necessary _KERNEL wrap to previous. 2012-11-18 21:19:52 +00:00
apb
ed0cd7eb98 Under "Failed to remove the following files from ${_d}:",
print one file name per line, indented to make the list more visible.
2012-11-18 19:52:40 +00:00
apb
19862a7d7d Change some .if defined(SRCS) to .if defined(SRCS) && !empty(SRCS) 2012-11-18 19:48:29 +00:00
pooka
6530621714 Fixes for Solarisa. 2012-11-18 19:29:40 +00:00
pooka
cfabaa1815 regen 2012-11-18 19:25:25 +00:00
pooka
bb890b4673 make work for non-c++ (???) 2012-11-18 19:25:09 +00:00
pooka
3342b3582d regen 2012-11-18 19:04:32 +00:00
pooka
e6d33ac952 s/EJUSTRETURN/RUMP_EJUSTRETURN/ 2012-11-18 19:04:22 +00:00
pooka
7753a0419d While mucking in here, give the [local] client a chance to access all
rump kernel (i.e. NetBSD) errnos, not just EJUSTRETURN.
2012-11-18 19:03:43 +00:00
pooka
ad077d507d regen 2012-11-18 18:40:05 +00:00
pooka
005755d8e9 Finally remove the "temporary" __VTYPE_DEFINED stuff I added >5 years ago. 2012-11-18 18:39:23 +00:00
pooka
78b801a3d2 remove unused variable 2012-11-18 18:36:01 +00:00
dholland
4604e9c421 Regen from updated namei.src. 2012-11-18 18:25:50 +00:00
dholland
9268719493 Apply manu's change to namei.h correctly. 2012-11-18 18:25:08 +00:00
jakllsch
1703ea9991 stylistic adjustment in comments 2012-11-18 18:20:56 +00:00
jakllsch
990c973d65 correct comment to match code 2012-11-18 17:59:56 +00:00
manu
a76c1cc17f Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
alnsn
a7aa627f8a Disable generation of fastcall functions on i386. 2012-11-18 14:39:42 +00:00