openbsd
10 years agosync
deraadt [Sun, 13 Jul 2014 13:55:41 +0000 (13:55 +0000)]
sync

10 years ago- move the ntpd.conf file to examples directory
rpe [Sun, 13 Jul 2014 13:53:36 +0000 (13:53 +0000)]
- move the ntpd.conf file to examples directory
- move it from BIN1 to EXAMPLES in src/etc/Makefile
- change the installer to create the file instead of editing it
- add a '+' to the corresponding changelist entry

suggested by and OK deraadt@
OK for the installer change krw@

10 years agonew superblock header needs fixes
pelikan [Sun, 13 Jul 2014 13:50:00 +0000 (13:50 +0000)]
new superblock header needs fixes

10 years agosomeone send dlg a keyboard with a tab key please
henning [Sun, 13 Jul 2014 13:41:46 +0000 (13:41 +0000)]
someone send dlg a keyboard with a tab key please

10 years agoUse dl_iterate_phdr() to iterate over the segments and throw the addresses
deraadt [Sun, 13 Jul 2014 13:37:38 +0000 (13:37 +0000)]
Use dl_iterate_phdr() to iterate over the segments and throw the addresses
into the hash; hoping the system has some ASLR or PIE.  This replaces and
substantially improves upon &main which proved problematic with some picky
linkers.
Work with kettenis, testing by beck

10 years agonew superblock header needs fixes for BE architectures
pelikan [Sun, 13 Jul 2014 13:37:22 +0000 (13:37 +0000)]
new superblock header needs fixes for BE architectures

10 years agoext4 (extents) read support
pelikan [Sun, 13 Jul 2014 13:28:26 +0000 (13:28 +0000)]
ext4 (extents) read support

Tested on amd64 with > 4GB files and 50,000 subdirectories.
From FreeBSD, thanks!

ok deraadt guenther

10 years ago- fix off-by-one in getting the number of cores in the system
jasper [Sun, 13 Jul 2014 13:19:01 +0000 (13:19 +0000)]
- fix off-by-one in getting the number of cores in the system
- unbreak GENERIC.MP build

10 years agoSplit out ntoh[ls] and hton[ls] into their own manpage.
guenther [Sun, 13 Jul 2014 13:17:16 +0000 (13:17 +0000)]
Split out ntoh[ls] and hton[ls] into their own manpage.
Update byteorder(3) to cover the new functions in <endian.h>

ok deraadt@ millert@

10 years agoNeeds getchar.c now
miod [Sun, 13 Jul 2014 13:07:30 +0000 (13:07 +0000)]
Needs getchar.c now

10 years agoProvide a link to the canonical API specification.
deraadt [Sun, 13 Jul 2014 13:03:09 +0000 (13:03 +0000)]
Provide a link to the canonical API specification.
ok beck

10 years agoMismatch between the sets list and what's in DESTDIR should not be fatal
ajacoutot [Sun, 13 Jul 2014 13:01:48 +0000 (13:01 +0000)]
Mismatch between the sets list and what's in DESTDIR should not be fatal
to sysmerge sum files generation.

discussed by deraadt@

10 years agolong live BSD, SYSV is dead!
tedu [Sun, 13 Jul 2014 13:00:40 +0000 (13:00 +0000)]
long live BSD, SYSV is dead!

10 years agoMake the calltree a bit easier to understand by giving the
schwarze [Sun, 13 Jul 2014 12:55:24 +0000 (12:55 +0000)]
Make the calltree a bit easier to understand by giving the
functions that call resp_begin_html() names starting with "pg_"
and those called after resp_begin_html() names with "resp_".
No functional change, purely renaming functions.

10 years agoMake sure all error conditions in RSA_padding_add_PKCS1_PSS_mgf1() cause
miod [Sun, 13 Jul 2014 12:53:46 +0000 (12:53 +0000)]
Make sure all error conditions in RSA_padding_add_PKCS1_PSS_mgf1() cause
EVP_MD_CTX_cleanup() to be called.

10 years agoPossible PBEPARAM leak in the error path.
miod [Sun, 13 Jul 2014 12:46:44 +0000 (12:46 +0000)]
Possible PBEPARAM leak in the error path.

10 years agodsa_priv_decode(): only destroy the object we've created, and with the
miod [Sun, 13 Jul 2014 12:45:01 +0000 (12:45 +0000)]
dsa_priv_decode(): only destroy the object we've created, and with the
  appropriate function. Checking for privkey != NULL is not enough since
  privkey points to a member of ndsa if ndsa != NULL.
dsa_priv_encode(): possible double free in error path.

10 years agomake source vs. formatted guessing a bit more robust
schwarze [Sun, 13 Jul 2014 12:44:57 +0000 (12:44 +0000)]
make source vs. formatted guessing a bit more robust

10 years agoBy popular demand, bring man.cgi default mode closer to what man(1) does:
schwarze [Sun, 13 Jul 2014 12:31:00 +0000 (12:31 +0000)]
By popular demand, bring man.cgi default mode closer to what man(1) does:
Even when there are multiple pages with the same name in different
sections, show one of them, using the same priorities as in the
default man.conf(5) file.

10 years agoInstall some config files with mode 0600 as they were before the move to
ajacoutot [Sun, 13 Jul 2014 12:14:37 +0000 (12:14 +0000)]
Install some config files with mode 0600 as they were before the move to
/etc/examples.

ok deraadt@

10 years agorc bits for iscsid. Start iscsid as early as possible. Use the new -N
claudio [Sun, 13 Jul 2014 12:12:30 +0000 (12:12 +0000)]
rc bits for iscsid. Start iscsid as early as possible. Use the new -N
flag for fsck and mount to check and mount the iscsi file systems (marked
with option net) right after the mount -a.
"Get it in" deraadt@
rpe@ is OK with this going in but it may need further changes

10 years agouse nitems() instead of handrolling something identical
jasper [Sun, 13 Jul 2014 12:11:01 +0000 (12:11 +0000)]
use nitems() instead of handrolling something identical

ok mpi@ sthen@

10 years agoClose connection/remove event handler when msgbuf_write() hits an
krw [Sun, 13 Jul 2014 12:07:59 +0000 (12:07 +0000)]
Close connection/remove event handler when msgbuf_write() hits an
EOF.

ok jmatthew@ claudio@

10 years agoAdd iscsid to the rc.d files to install
claudio [Sun, 13 Jul 2014 12:07:40 +0000 (12:07 +0000)]
Add iscsid to the rc.d files to install

10 years agorc.d script for iscsid.
claudio [Sun, 13 Jul 2014 12:07:11 +0000 (12:07 +0000)]
rc.d script for iscsid.

10 years agoTry to document new 'net' option that is a bit like 'noauto'.
claudio [Sun, 13 Jul 2014 12:04:25 +0000 (12:04 +0000)]
Try to document new 'net' option that is a bit like 'noauto'.

10 years agoIntorduce the same -N flag that mount(8) just got to do the same
claudio [Sun, 13 Jul 2014 12:03:48 +0000 (12:03 +0000)]
Intorduce the same -N flag that mount(8) just got to do the same
selection of file systems with option 'net'. Again this will be used
by the rc script to fsck iscsi file systems before mounting them.
Again by default file systems with the net option are ignored when
scanning fstab.
"Get it in" deraadt@

10 years agoIntroduce a -N option to mount and a 'net' mount option.
claudio [Sun, 13 Jul 2014 12:01:30 +0000 (12:01 +0000)]
Introduce a -N option to mount and a 'net' mount option.
File systems marked with net will not be mounted by default.
mount -a -N will mount all those file systems instead.
This will be used to mark file systems needing network to work -- in
other words which depend on iscsid.
"Get it in" deraadt@

10 years agoadd copyright and rcs id
jasper [Sun, 13 Jul 2014 11:50:40 +0000 (11:50 +0000)]
add copyright and rcs id

"go ahead" kettenis@

10 years agoCheck X509_NAME_oneline() return value when it will have to allocate memory.
miod [Sun, 13 Jul 2014 11:15:54 +0000 (11:15 +0000)]
Check X509_NAME_oneline() return value when it will have to allocate memory.

10 years agoEVP_DigestInit_ex() may be used to recycle an existing EVP_MD_CTX without having
miod [Sun, 13 Jul 2014 11:14:02 +0000 (11:14 +0000)]
EVP_DigestInit_ex() may be used to recycle an existing EVP_MD_CTX without having
to reinitialize all of it, especially if it is used with the same MD algorithm.

However, when the MD algorithm changes, it needs to perform more cleanups.
Make that code more closer to what EVP_MD_CTX_cleanup() does by:
- only freeing md_data if EVP_MD_CTX_FLAG_REUSE is not set
- performing an explicit_bzero of md_data before freeing it
- making sure we call EVP_PKEY_CTX_free on the pctx if the allocation for the
  new md_data fails.

ok tedu@

10 years agoDon't include asn1_mac.h if all you need is asn1.h.
miod [Sun, 13 Jul 2014 11:10:20 +0000 (11:10 +0000)]
Don't include asn1_mac.h if all you need is asn1.h.

10 years agotweak previous; ok dlg
jmc [Sun, 13 Jul 2014 10:59:49 +0000 (10:59 +0000)]
tweak previous; ok dlg

10 years agoStart handling host channel interrupts.
pirofti [Sun, 13 Jul 2014 10:58:19 +0000 (10:58 +0000)]
Start handling host channel interrupts.

For now just acknowledge and clear the event to avoid interrupt storms.

10 years agoTake out __bounded__ in the include files we use it in when not on OpenBSD.
beck [Sun, 13 Jul 2014 10:27:22 +0000 (10:27 +0000)]
Take out __bounded__ in the include files we use it in when not on OpenBSD.
while we can take it out in portable at compile time, it is still a problem
when we install this header file on a system that doesn't support __bounded__
if this is unguarded.
ok miod@ bcook@

10 years agoUnconfuse .Fa documentation:
schwarze [Sun, 13 Jul 2014 10:23:06 +0000 (10:23 +0000)]
Unconfuse .Fa documentation:
You can use .Fa with just a type, without a name,
but when you give both, which is the usual case,
they need to go into one single .Fa argument.
Observed by bentley@; ok jmc@ bentley@.

10 years agotweak previous;
jmc [Sun, 13 Jul 2014 10:09:12 +0000 (10:09 +0000)]
tweak previous;

10 years agotweak previous;
jmc [Sun, 13 Jul 2014 10:05:49 +0000 (10:05 +0000)]
tweak previous;

10 years agoInstall the manuals of the web interface below the same directory
schwarze [Sun, 13 Jul 2014 09:58:52 +0000 (09:58 +0000)]
Install the manuals of the web interface below the same directory
as manpath.conf, such that we do not need to mix our own documentation
into the documentation we are serving, which may not even be possible
if the latter is updated automatically.

Based on an idea by beck@.

10 years agotreat external storage allocated by the mbuf layer the same as
dlg [Sun, 13 Jul 2014 09:52:48 +0000 (09:52 +0000)]
treat external storage allocated by the mbuf layer the same as
external storage attached to an mbuf anywhere else. this means it
uses MEXTADD to wire it up to the mbuf, and it relies on the ext_free
and ext_arg bits in the header to call the right free function
against the right pool.

M_CLUSTER gets renamed to M_EXTWR. the type field in MEXTADD gets
reused as a flags field so anything attaching storage to an mbuf
can say if it is writable or not.

ok claudio@

10 years agoMake error messages more obvious to the user.
beck [Sun, 13 Jul 2014 09:46:19 +0000 (09:46 +0000)]
Make error messages more obvious to the user.
ok reyk@ florian@

10 years agoWhat would you use config_init() for?
mpi [Sun, 13 Jul 2014 09:37:22 +0000 (09:37 +0000)]
What would you use config_init() for?

10 years agoWhile we thought this would make portable life easier it actually
beck [Sun, 13 Jul 2014 09:32:42 +0000 (09:32 +0000)]
While we thought this would make portable life easier it actually
makes it much harder.
ok bcook@ kettenis@

10 years agoNo need to include evp_locl.h in there.
miod [Sun, 13 Jul 2014 09:30:02 +0000 (09:30 +0000)]
No need to include evp_locl.h in there.

10 years agoSplit config_attach/detach(9) from autoconf(9). Stop talking about
mpi [Sun, 13 Jul 2014 09:28:06 +0000 (09:28 +0000)]
Split config_attach/detach(9) from autoconf(9).  Stop talking about
config_deactivate(9), it should die.  Mention config_detach_children(9).
Use CONTEXT and RETURN VALUES sections

10 years agomove putchar() into libsa
jasper [Sun, 13 Jul 2014 09:26:08 +0000 (09:26 +0000)]
move putchar() into libsa

"sure" miod@

10 years agoOne missing boot -> prsignal(initprocess) conversion
miod [Sun, 13 Jul 2014 09:09:16 +0000 (09:09 +0000)]
One missing boot -> prsignal(initprocess) conversion

10 years agoThese still need <sys/reboot.h> for the RB_ constants.
miod [Sun, 13 Jul 2014 09:08:20 +0000 (09:08 +0000)]
These still need <sys/reboot.h> for the RB_ constants.

10 years agosync
deraadt [Sun, 13 Jul 2014 08:32:06 +0000 (08:32 +0000)]
sync

10 years agoTake away the use of the address of main as a source of entropy. Causes
beck [Sun, 13 Jul 2014 08:24:20 +0000 (08:24 +0000)]
Take away the use of the address of main as a source of entropy. Causes
distractions to people testing and seeing link errors in some setups.
This will come back in another form
ok deraadt@

10 years agomore mmap random on 64-bit platforms. noticed in freebsd aslr patches.
tedu [Sun, 13 Jul 2014 08:15:16 +0000 (08:15 +0000)]
more mmap random on 64-bit platforms. noticed in freebsd aslr patches.

10 years agoAdd missing atomic primitives and __sync_synchronize to let the kernel
miod [Sun, 13 Jul 2014 08:13:07 +0000 (08:13 +0000)]
Add missing atomic primitives and __sync_synchronize to let the kernel
compile again; tested by aoyama@

10 years agodocument that rc.conf is not a shell script anymore
robert [Sun, 13 Jul 2014 08:07:51 +0000 (08:07 +0000)]
document that rc.conf is not a shell script anymore

10 years agoAlso ignore examplessum.
ajacoutot [Sun, 13 Jul 2014 07:12:41 +0000 (07:12 +0000)]
Also ignore examplessum.

10 years agoBye bye
mpi [Sun, 13 Jul 2014 07:10:58 +0000 (07:10 +0000)]
Bye bye

10 years agoNo need for ezload.h
mpi [Sun, 13 Jul 2014 07:06:23 +0000 (07:06 +0000)]
No need for ezload.h

10 years agowe dont do per interface accounting in the mbuf layer anymore
dlg [Sun, 13 Jul 2014 05:23:24 +0000 (05:23 +0000)]
we dont do per interface accounting in the mbuf layer anymore

10 years agoMake the pf_fragment test pass again. pf does not adjust the
bluhm [Sun, 13 Jul 2014 02:01:23 +0000 (02:01 +0000)]
Make the pf_fragment test pass again.  pf does not adjust the
checksum of a NATed UDP or TCP packet in the payload of an ICMP
packet anymore.  Disable all test that rely on this feature.
Check that the router's interface mtu has been set to 1300.

10 years agoMake the pf_forward test pass again. Check that the router's
bluhm [Sun, 13 Jul 2014 01:47:20 +0000 (01:47 +0000)]
Make the pf_forward test pass again.  Check that the router's
interface mtu has been set to 1300.  New netcat needs -N for shutdown.
The IPv4 and IPv6 addresses for the af-to tests must have corresponding
host numbers.

10 years agoimprove log output for relays. adjust regress tests
benno [Sun, 13 Jul 2014 00:32:08 +0000 (00:32 +0000)]
improve log output for relays. adjust regress tests
ok reyk

10 years agoKNF and some code cleaning.
jsing [Sun, 13 Jul 2014 00:30:07 +0000 (00:30 +0000)]
KNF and some code cleaning.

10 years agorepair matching of headers, add regress test for this error
benno [Sun, 13 Jul 2014 00:18:05 +0000 (00:18 +0000)]
repair matching of headers, add regress test for this error
ok reyk

10 years agoupdate after recent code changes
schwarze [Sun, 13 Jul 2014 00:16:03 +0000 (00:16 +0000)]
update after recent code changes

10 years agoremove silly cast
deraadt [Sun, 13 Jul 2014 00:10:47 +0000 (00:10 +0000)]
remove silly cast

10 years agoAnother large dose of KNF.
jsing [Sun, 13 Jul 2014 00:08:44 +0000 (00:08 +0000)]
Another large dose of KNF.

10 years agosync
deraadt [Sun, 13 Jul 2014 00:01:54 +0000 (00:01 +0000)]
sync

10 years agoApply a large dose of KNF.
jsing [Sat, 12 Jul 2014 23:59:11 +0000 (23:59 +0000)]
Apply a large dose of KNF.

10 years agoUse Comic Sans (or Chalkboard) as the default font for HTTP error
reyk [Sat, 12 Jul 2014 23:55:35 +0000 (23:55 +0000)]
Use Comic Sans (or Chalkboard) as the default font for HTTP error
messages because we love web hipsters.

ok beck@

10 years ago- remove CONSPEED from libsa.h
jasper [Sat, 12 Jul 2014 23:45:33 +0000 (23:45 +0000)]
- remove CONSPEED from libsa.h
- remove unused define

10 years agoPolish the search form using feedback from beck@ and others,
schwarze [Sat, 12 Jul 2014 23:40:44 +0000 (23:40 +0000)]
Polish the search form using feedback from beck@ and others,
in particular introduce a section dropdown and an architecture dropdown.

10 years agounify cnspeed()
jasper [Sat, 12 Jul 2014 23:34:54 +0000 (23:34 +0000)]
unify cnspeed()

10 years agoAdd httpd(8), an attempt to turn the relayd(8) codebase into a simple
reyk [Sat, 12 Jul 2014 23:34:54 +0000 (23:34 +0000)]
Add httpd(8), an attempt to turn the relayd(8) codebase into a simple
web server.  It is not finished yet and I just started it today, but
the goal is to provide an HTTP server that a) provides minimal
features, b) serves static files, c) provides FastCGI support, and d)
follows common coding practices of OpenBSD.

It will neither support plugins, nor custom memory allocators, EBCDIC
support, PCRE or any other things that can be found elsewhere.
httpd(8) is not intended to provide a fully-featured replacement for
nginx(8) or the Apache, but it will provide enough functionality that
is needed in the OpenBSD base system.

ok deraadt@

10 years agoregen
jsg [Sat, 12 Jul 2014 23:31:07 +0000 (23:31 +0000)]
regen

10 years agomissed the trailing digit
jsg [Sat, 12 Jul 2014 23:30:14 +0000 (23:30 +0000)]
missed the trailing digit

10 years agoresurrect this treasure (still needed to build microcode)
deraadt [Sat, 12 Jul 2014 23:27:43 +0000 (23:27 +0000)]
resurrect this treasure (still needed to build microcode)

10 years agoPrint a line in dmesg to indicate if the aperture driver is
jsg [Sat, 12 Jul 2014 23:16:23 +0000 (23:16 +0000)]
Print a line in dmesg to indicate if the aperture driver is
required to run X.  This will be used by the installer to decide
what value to set machdep.allowaperture to.

For devices supported by i915 and radeon kms machdep.allowaperture
will be set to 0.  Systems that have a graphics device commonly
found in servers (g200e*/aspeed/es1000 etc) will also not have
the aperture enabled as they generally don't need to run X.

ok deraadt@ kettenis@

10 years agoduplicate function names in head1
miod [Sat, 12 Jul 2014 22:47:41 +0000 (22:47 +0000)]
duplicate function names in head1

10 years agoAutomatically load the required pf rules into the kernel of the
bluhm [Sat, 12 Jul 2014 22:43:31 +0000 (22:43 +0000)]
Automatically load the required pf rules into the kernel of the
remote test machine.

10 years agoreboot(9), panic(9): Call panic(9) for unrecoverable MD H/W errors (NMIs)
uebayasi [Sat, 12 Jul 2014 22:37:03 +0000 (22:37 +0000)]
reboot(9), panic(9): Call panic(9) for unrecoverable MD H/W errors (NMIs)

Some architectures have ability to detect hardware sanity and notify system
(NMI, firmware callback, etc.).  Handle these hardware severe errors, same
as software errors, with panic(9).

According to miod@, SGI IP27 NMI is triggered by pushing some "hidden" button,
which "usual" users/admins don't know.  Pushing such a button is "RB_USERREQ"
(human-triggered) in that the button is pushed by a human, but not "RB_USERREQ"
in that no user intervention in system (== no command input) is done.  miod@
agreed that changing these from RB_USERREQ to !RB_USERREQ (== panic(9)) is
not a big problem.

OK miod@ kettenis@

10 years agoThe correct name for EDH is DHE, likewise EECDH should be ECDHE.
jsing [Sat, 12 Jul 2014 22:33:39 +0000 (22:33 +0000)]
The correct name for EDH is DHE, likewise EECDH should be ECDHE.

Based on changes to OpenSSL trunk.

ok beck@ miod@

10 years agosome basic formatting fixes;
jmc [Sat, 12 Jul 2014 22:27:09 +0000 (22:27 +0000)]
some basic formatting fixes;

10 years agoNo need to include asn1_mac.h here.
miod [Sat, 12 Jul 2014 22:26:01 +0000 (22:26 +0000)]
No need to include asn1_mac.h here.

10 years agoremove double brackets. fixes build with clang.
jsg [Sat, 12 Jul 2014 22:17:59 +0000 (22:17 +0000)]
remove double brackets.  fixes build with clang.
ok jsing@

10 years agodon't check_security on newer *after* making sure the set doesn't have
espie [Sat, 12 Jul 2014 22:08:23 +0000 (22:08 +0000)]
don't check_security on newer *after* making sure the set doesn't have
errors. Note that the errors are already signaling enough (conflicts, bad
package etc)... And not having any errors mean we actually have proper plists.

problem noticed by zhuk@

10 years agoegsum -> examplessum
ajacoutot [Sat, 12 Jul 2014 22:06:11 +0000 (22:06 +0000)]
egsum -> examplessum

10 years agoegsum -> examplessum to make it more obvious.
ajacoutot [Sat, 12 Jul 2014 22:05:16 +0000 (22:05 +0000)]
egsum -> examplessum to make it more obvious.

req. by deraadt@

10 years agoSimplify checksum generation for sysmerge.
ajacoutot [Sat, 12 Jul 2014 22:03:44 +0000 (22:03 +0000)]
Simplify checksum generation for sysmerge.

no objection from deraadt@

10 years agoAdd in missing brswphy(4) and the commented out USB entries.
brad [Sat, 12 Jul 2014 22:03:16 +0000 (22:03 +0000)]
Add in missing brswphy(4) and the commented out USB entries.

ok pirofti@

10 years agouyap: your call has been disconnected
tedu [Sat, 12 Jul 2014 21:58:36 +0000 (21:58 +0000)]
uyap: your call has been disconnected

10 years ago"Dr. Jones. Again we see there is nothing you can possess which I cannot
tedu [Sat, 12 Jul 2014 21:56:56 +0000 (21:56 +0000)]
"Dr. Jones. Again we see there is nothing you can possess which I cannot
take away."

remove uyap. no effect except on hppa where it was strangely enabled.

10 years agomove getchar() into libsa where applicable
jasper [Sat, 12 Jul 2014 21:54:57 +0000 (21:54 +0000)]
move getchar() into libsa where applicable

ok miod@

10 years agoBuild kernels at -O2 instead of -Os, as done for userland and on all other
miod [Sat, 12 Jul 2014 21:49:27 +0000 (21:49 +0000)]
Build kernels at -O2 instead of -Os, as done for userland and on all other
architectures.
ok deraadt@

10 years agoFix the last commit by proper dereferencing the disklabel partition.
pirofti [Sat, 12 Jul 2014 21:47:04 +0000 (21:47 +0000)]
Fix the last commit by proper dereferencing the disklabel partition.

Found by me, fixed by krw@. Thanks!

10 years agosync
deraadt [Sat, 12 Jul 2014 21:44:42 +0000 (21:44 +0000)]
sync

10 years agoTeach these pf regress tests to run with obj directory and to fail
bluhm [Sat, 12 Jul 2014 21:41:49 +0000 (21:41 +0000)]
Teach these pf regress tests to run with obj directory and to fail
softly if the setup is incomplete.  Link them to the build.

10 years agoAdd devel/cmake bits (rotted in my tree for more than a year) and a short
zhuk [Sat, 12 Jul 2014 21:28:58 +0000 (21:28 +0000)]
Add devel/cmake bits (rotted in my tree for more than a year) and a short
description of x11/kde4 variables. Everyone is welcome to extend&improve.

okay espie@

10 years agoKill the last dumb DVACT_DEACTIVATE handlers.
mpi [Sat, 12 Jul 2014 21:24:33 +0000 (21:24 +0000)]
Kill the last dumb DVACT_DEACTIVATE handlers.

10 years agoRefactor out dosigsuspend() function
matthew [Sat, 12 Jul 2014 21:21:19 +0000 (21:21 +0000)]
Refactor out dosigsuspend() function

Discussed with guenther and kettenis

10 years agoRemove this sentence:
miod [Sat, 12 Jul 2014 21:08:53 +0000 (21:08 +0000)]
Remove this sentence:
``The probability that a randomly generated key is weak is -1/2^52,
  so it is not really worth checking for them.''

This kind of naively optimistic attitude is not compatible with security.

10 years agoFix USB connect freeze by clearing the host port interrupt.
pirofti [Sat, 12 Jul 2014 21:07:33 +0000 (21:07 +0000)]
Fix USB connect freeze by clearing the host port interrupt.

Connects and disconnects have no affect on the machine, just like before
this driver came into existence.

While at it check for a few more interrupt types.