Commit Graph

214825 Commits

Author SHA1 Message Date
pooka 2d406de167 This component is not WARNS>3 clean (example: it includes socketvar.h
which does signed-unsigned comparison in an inline function).  Why it
compiled at all is one of those marvels of compiler technology.
2012-11-21 11:03:13 +00:00
skrll 653bb54072 Fix delay. 2012-11-21 08:47:13 +00:00
msaitoh 96ffda2dcc Fix a uvm_fault panic that memory is not allocated for the last few GPIO bits. 2012-11-21 08:03:18 +00:00
skrll 0412e87f4f Add audio* at uaudio? 2012-11-21 08:00:56 +00:00
jkunz 1cd37b282a Give memory more time to power up. Avoids hangups. 2012-11-20 23:39:33 +00:00
christos 1524d388a5 Don't use p_comm since it is only 16 characters long and you can find the
full argv[0]. It is just confusing to have a long command name, that ps
shows as the long command name, and then when you try to kill it using
the full command name as displayed you don't get a match. While there
fix a format nit, and remove the main() declaration.
2012-11-20 22:52:01 +00:00
matt 19392803b5 Add $NetBSD$ tag. Use ip to save r1 instead of the stack. 2012-11-20 22:02:46 +00:00
jkunz 3e0822337d Adjust bootloader file name. 2012-11-20 21:36:35 +00:00
skrll 4faa50e455 Trailing whitespace. 2012-11-20 21:22:11 +00:00
skrll 94260b4baa Define BCM2835_USB_SIZE 2012-11-20 21:21:42 +00:00
skrll df729a3b1a KNF whitespace. 2012-11-20 21:16:01 +00:00
jakllsch b0b33b9313 Don't enable WAPBL by default. It's far too dangerous. 2012-11-20 20:17:43 +00:00
jakllsch d57a76d195 Don't enable WAPBL in images. 2012-11-20 20:16:03 +00:00
martin 26d64ddcc4 Mark a few tests that require root 2012-11-20 20:01:14 +00:00
jkunz da8587eaed Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
2012-11-20 19:08:45 +00:00
jkunz eba5cacbdb Add initial support for Freescale i.MX23 application processor.
Contributed by Petri Laakso.
2012-11-20 19:06:12 +00:00
agc 2752da196a fix problem on 32-bit problems - with thanks to Alan Barrett and
Jonathan Kollasch
2012-11-20 18:45:37 +00:00
agc 9bf07868ef don't assume every platform is 64-bit - just use standard integer arithmetic 2012-11-20 17:57:40 +00:00
agc 453e1b8f76 descend into libnetpgpverify so that the compat entries are picked up 2012-11-20 16:33:06 +00:00
agc d055d5654e add definition for libnetpgpverify 2012-11-20 16:24:30 +00:00
agc db8fa78ddd add missing destdir files for netpgpverify addition 2012-11-20 16:18:47 +00:00
pgoyette 7feb2e8135 Also give install a place to put the atf tests for netpgpverify 2012-11-20 15:41:43 +00:00
pgoyette 7e4aef559e Fix the build - give install a place to put verify.h ! 2012-11-20 15:02:44 +00:00
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