Commit Graph

215088 Commits

Author SHA1 Message Date
matt 0190d9d2cf Always supply all registers (don't make one implicit). 2012-11-21 19:39:39 +00:00
matt 282fa85f0e Fix missing registers (don't make then implicit). 2012-11-21 19:38:36 +00:00
pgoyette 3a4bfc9ee9 Note that 'su -l' does not update utmp and related databases. 2012-11-21 19:30:53 +00:00
christos 55f47ec332 Replace the simple implementation of pthread_key_{create,destroy}
and pthread_{g,s}etspecific functions, to one that invalidates
values of keys in other threads when pthread_key_delete() is called.
This fixes chromium, which expects pthread_key_delete() to do
cleanup in all threads.
2012-11-21 19:19:24 +00:00
pooka 1495c1a931 revert previous, seems to upset the build in a creative way 2012-11-21 18:45:08 +00:00
pooka 58de144fd6 Allow user override of _GCC_CRT{BEGIN,END}S. 2012-11-21 18:09:10 +00:00
pooka e4cca1b663 Instead of maintaining an evergrowing list of -U's, leave that up
to an external script.
2012-11-21 17:53:10 +00:00
pooka 49029daa1a Don't duplicate arbitrary chunks of bsd.sys.mk in here (especially
-Wsign-compare, since that doesn't even work with the kernel, and was
just previously masked by -isystem).  Reorder a bit too.
2012-11-21 17:51:42 +00:00
pooka 8d40a1e7f7 Don't unconditionally use the error-silencing magic of -isystem
(as opposed to -I) on every component, only the zfs ones depend on it
to build.  Regular modules might benefit from a similar move.
2012-11-21 17:48:05 +00:00
pooka b65f40a8c1 export register_t to rump kernel users on solaris 2012-11-21 17:41:27 +00:00
pooka bc4e542d48 regen 2012-11-21 17:36:17 +00:00
pooka be5ba4807d ok, rump_sockaddr_in was a pretty desperate kludge in the first place,
much better solved by syscall compat.  but, now it's really time to let
it go since solaris thinks it's nice to define s_addr around any way
it likes.
2012-11-21 17:35:21 +00:00
christos 1c792deed9 document change in {,v}snprintf() behavior. 2012-11-21 17:18:11 +00:00
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