Commit Graph

136607 Commits

Author SHA1 Message Date
fvdl
73af1e5c03 Add an e_usertrap function pointer to struct emul. 2005-05-20 12:44:11 +00:00
skrll
3ac7f947bc Re-run mknative now that the environment has the right ld, nm and objdump.
I'm just committing the auto-host.h changes as I'm going to add this to a
pullup ticket. Maybe mknative should be run against the branches on the
build machine?

Fixes PR/30251
2005-05-20 07:40:09 +00:00
manu
bd592e6e99 Really delete phase 1 on Xauth failure 2005-05-20 07:34:47 +00:00
he
d316ef3d77 Printf field widths and size_t don't always mix well, so cast to int.
Fixes build problem for alpha.
2005-05-20 07:26:01 +00:00
skrll
810ebc3831 Use the correct LD/NM/OBJDUMP when creating the mknative environment. 2005-05-20 07:10:51 +00:00
skrll
313049f061 Allow AS and OBJDUMP to override the detected assembler and objdump. 2005-05-20 07:08:07 +00:00
jdc
9c9b601a23 Make this compile on sparc64 (size_t != int). 2005-05-20 06:13:23 +00:00
manu
48fade8581 Fix NAT-T plus IPcomp 2005-05-20 01:28:13 +00:00
manu
7c6ffb8ab4 Use NAT-T ports for AH and IPcomp too. 2005-05-20 01:25:17 +00:00
lukem
47d12f36e7 Use a more standard TNF license (than one that has clause 3 for UCB
& refers to "THE REGENTS").
Confirmed with Lex, who added it.
2005-05-20 01:22:48 +00:00
mrg
f56c2db8b9 tramp and vers are used unconditionally, make them visible everywhere. 2005-05-20 01:06:50 +00:00
manu
8612e62aa3 Bump version number 2005-05-20 00:58:58 +00:00
manu
c6660c31c6 Fix parse bug in IPsec policies 2005-05-20 00:57:33 +00:00
manu
2e090d4afb When altering the lifetime, don't modify to configured proposal, duplicate
it instead.
2005-05-20 00:54:55 +00:00
manu
53fb6703e5 Add support for Linux SA_RESTORER on amd64. 2005-05-19 21:16:29 +00:00
elad
5888b16eef Some changes in veriexec.
New features:

  - Add a veriexec_report() routine to make most reporting consistent and
    remove some common code.
  - Add 'strict' mode that controls how veriexec behaves.
  - Add sysctl knobs:
     o kern.veriexec.verbose controls verbosity levels. Value: 0, 1.
     o kern.veriexec.strict controls strict level. Values: 0, 1, 2. See
       documentation in sysctl(3) for details.
     o kern.veriexec.algorithms returns a string with a space separated
       list of supported hashing algorithms in veriexec.
  - Updated documentation in man pages for sysctl(3) and sysctl(8).

Bug fixes:

  - veriexec_removechk(): Code cleanup + handle FINGERPRINT_NOTEVAL
    correctly.
  - exec_script(): Don't pass 0 as flag when executing a script; use the
    defined VERIEXEC_INDIRECT - which is 1. Makes indirect execution
    enforcement work.
  - Fix some printing formats and types..
2005-05-19 20:16:19 +00:00
briggs
947685c48e BUS_DMASYNC_* routines are from the point of view of the memory controller,
so BUS_DMASYNC_POSTREAD should follow a device->memory transfer (like for
the rx packet data.
Also, it would be good to do a BUS_DMASYNC_PREWRITE to ensure that packet
data is flushed to memory before the chip tries to transmit data.
Tested on a PowerPC system.
2005-05-19 20:11:24 +00:00
jlam
c008260a6b The current version of nawk is dated 2005-04-25. 2005-05-19 16:19:34 +00:00
ginsbach
4d1075a78b Convert prefixlen() to ANSI function declaration. Missed by earlier
conversion.
2005-05-19 15:46:02 +00:00
ginsbach
0cb468118d Due to a limitation in inet_addr(3) it was not possible to specify a
netmask value of 0xffffffff (INADDR_NONE).  Fix by using inet_aton(3).
Note it was possible to specify the same mask as the dotted quad
255.255.255.255 because of a later call to gethostbyname(3).
[From FreeBSD]
2005-05-19 15:05:11 +00:00
lukem
943e24eb27 tab cleanup 2005-05-19 03:14:52 +00:00
lukem
dc6635b518 Use size_t instead of int where appropriate. 2005-05-19 03:05:04 +00:00
lukem
947172fa2b Some const cleanups. 2005-05-19 02:55:37 +00:00
lukem
6ec400133b Unset INFODIR in the makewrapper.
Should fix a build problem observed when installing .info files
when the build user's environment has INFODIR set.
2005-05-19 01:37:30 +00:00
christos
eda876c9d5 Libedit depends on libterm. From Patrick Welche 2005-05-18 22:36:20 +00:00
christos
33b0562908 Make completion_matches non-static since readline wants it. 2005-05-18 22:34:41 +00:00
riz
336b3f49da Regen. 2005-05-18 20:34:28 +00:00
riz
d8dda9700a Add support for the 82801FB (ICH6) 10/100 ethernet appearing
on new Intel motherboards.  From Brian Buhrow in PR#30025.
Approved by jmcneill.
2005-05-18 20:33:46 +00:00
augustss
21ef7c17a0 Allow the audio device to be opened for read resp. write by separate calls
to open().  Previously only one call to open() was allowed.
This change should allow some Linux derived programs to work unaltered.

XXX This isn't really possible to implement correctly in a simple way.
So this implementation is incorrect: It is not until device has been closed
by both the reader and writer that it is possible to open it at all again.
2005-05-18 20:10:25 +00:00
bouyer
1e58e4ef41 - There is a possible race condition with the rx->event stuff, causing
event not to be sent when one is needed. Fixing this would require
  one hypercall per packet, instead of one per NB_XMIT_PAGES_BATCH pages.
  It's not worth it, so always send an event at the end of xennetback_ifstart()
- there is no callback mechanism to notify us when a guest has handled
  packets we sent. If we stop transmitting because the ring is full or we're
  out of pages when the ifq is also full, nothing will call
  xennetback_ifstart() again and transmit is stalled. Abuse the watchdog
  to kick the transmit queue once second after an out of ressources
  condition.
2005-05-18 16:19:23 +00:00
bouyer
2d6b318a94 Reorder the receive code to avoid a possible race with the sc_rx->event
stuff, and fix a possible infinite loop in case of ressource shortage.
2005-05-18 16:11:32 +00:00
christos
137ea645ec PR/30198: Lubomir Sedlacik: The forwarding listening host is optional; don't
try to free it.
2005-05-18 16:11:11 +00:00
wiz
bf9ed3200d Bump date for previous. 2005-05-18 15:05:26 +00:00
wiz
cf39c044b3 libevent-1.1 is out. 2005-05-18 14:59:03 +00:00
tsutsui
ca49b6380d Fix a typo. (from OpenBSD) 2005-05-18 14:57:36 +00:00
chs
1c2ca83340 add a ramdisk and LIF image for sysinst-based installation. 2005-05-18 14:04:26 +00:00
itohy
ccd084ee95 Add description on manipulation of the internal storage.
Requested by Hubert Feyrer.
2005-05-18 14:01:23 +00:00
chs
a4ef51503f as a stop-gap measure to allow boot-from-disk to work on hppa,
add some padding to the end of struct scsipi_xfer on that platform.
2005-05-18 13:58:10 +00:00
yamt
9cb572b112 nfsrv_mknod: reject device numbers which we can't handle. 2005-05-18 12:57:34 +00:00
augustss
191e9dab58 Handle DCD differently so it's not always asserted. From kern/30268 from
Wolfgang Stukenbrock.
2005-05-18 11:26:11 +00:00
yamt
ea66ccc0a5 uvm_mapent_trymerge: adjust object offset when necessary. 2005-05-18 01:36:16 +00:00
yamt
9dcbe8b85f redo the previous (uvm_map.c rev.1.195) correctly. 2005-05-18 01:34:53 +00:00
christos
e3b50bebf6 backout previous. ISDIGIT is used all over the place without a cast. 2005-05-18 00:54:14 +00:00
christos
308097fac3 Make signal handler safe. From Michael Knudsen, many thanks. 2005-05-18 00:50:24 +00:00
peter
9641151edb Remove the zombie reaper and set SIG_IGN on SIGCHLD. We won't get a zombie
when the child exists this way and it should also fix the race condition
as mentioned in PR bin/30253 from Patrick McPhee.

Approved by christos.
2005-05-18 00:31:32 +00:00
christos
d0eca17dfa Cast isdigit() argument to unsigned char. 2005-05-18 00:15:52 +00:00
peter
838f5a9f71 - setmode() can fail on strtol(3); note this.
- Use .Va for errno.
2005-05-17 21:54:06 +00:00
yamt
1d028221a3 uvm_mapent_trymerge: add missing checks. 2005-05-17 21:45:24 +00:00
cube
9a1ab71f5f Add P_CLDSIGIGN, P_NOCLDSTOP and P_NOCLDWAIT to the list of flags we want
to inherit from the parent process.
2005-05-17 19:22:19 +00:00
hubertf
e2f5fea5f3 Fix comments:
Comments in kernel config files start with #, and are not enclosed in /* */
Noted by Patrick Welche <prlw1@newn.cam.ac.uk> on current-users@
2005-05-17 17:20:41 +00:00