summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-02-11Keep using the BUG as the console device until autoconf is over, ratherMiod Vallat
than switching early.
2004-02-11make mss signed; avoids large mss if ifp==NULL; ok itojun@Markus Friedl
2004-02-11Defining __HAVE_DEVICE_REGISTER and an empty device_register() function isMiod Vallat
just plain silly; remove them. ok drahn@
2004-02-11Remove duplicates with <sys/conf.h>; ok drahn@Miod Vallat
2004-02-11Return ENOTTY on unhandled ioctls; ok drahn@Miod Vallat
2004-02-11permit installboot to at least compile... remove some crudTheo de Raadt
2004-02-10KNFDaniel Hartmeier
2004-02-10Decrease the initial number of ptys from 64 to 16. If the systemsTodd C. Miller
needs more it will allocate them on demand. OK deraadt@ beck@
2004-02-10Fix off-by-one wrt TTY_LETTERS and minor being out of bounds. MissedTodd C. Miller
when I fixed the other TTY_LETTERS/TTY_SUFFIX off-by-ones.
2004-02-10plug mbuf leak (ip_fragment() always free mbuf on error). tested by cedric,Jun-ichiro itojun Hagino
dhartmei ok
2004-02-10Use SENSOR_FINVALID.Alexander Yurchenko
2004-02-10Use SENSOR_FINVALID.Alexander Yurchenko
help and ok hshoexer@
2004-02-10Add flags field to the sensor structure and an only flag SENSOR_FINVALIDAlexander Yurchenko
which allows to drop information from broken, unwired, disabled, etc sensors. ok hshoexer@
2004-02-10KNFHenning Brauer
2004-02-10Relocation types, used by ld.soDale Rahn
2004-02-10Check for the device existence in cnprobe() as done in match(), to be sureMiod Vallat
we don't try to attach a phantom console. It seems that some late 187 models do not have cl0 at the expected address...
2004-02-10check TF_SIGNATURE when calculating the mss; add TCPOLEN_SIGLEN andMarkus Friedl
avoid magic constants; ok henning@
2004-02-10Fix cnprobe() and cninit() prototypes.Miod Vallat
Also, provide a better test for bugtty attachment.
2004-02-10Make pfsync work correctly with IP options on 64-bit alignmentRyan Thomas McBride
sensitive CPUs. Pointed out by deraadt@.
2004-02-10Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETTodd C. Miller
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many.
2004-02-10Adjust comment now that number of ptys is dynamic.Todd C. Miller
2004-02-10Dynamically allocate space for ptys; adapted from NetBSD by beck@Todd C. Miller
2004-02-10Allow /boot to load read-only data segments in ELF kernels.Tom Cosgrove
Thanks to miod@ for testing on many archs. ok deraadt@.
2004-02-10Make debug_init void debug_init(void), like nearly all of the otherTom Cosgrove
functions that machdep() calls. ok deraadt@
2004-02-10Enable interrupts before halt when we error out. Allows use ofTom Cosgrove
Ctl-Alt-Del to reboot in case of failure. Much testing nick@; thanks. ok weingart@, deraadt@.
2004-02-09remove debugging printfMichael Shalayeff
2004-02-09repair cpu dmesg print a bitMichael Shalayeff
2004-02-09this is mixed sized eelf nlist version and thus cannot check sizes against ↵Michael Shalayeff
SIZE_T_MAX; deraadt@ ok
2004-02-09init the clock before autoconf start for delay() to be truly usable; i moved ↵Michael Shalayeff
it to after while debugging clocks in the early days
2004-02-09duh. there are two syscall entry points and both have to preserve rdx. also ↵Michael Shalayeff
make sure child process gets 1 in rdx as libc expects
2004-02-09preserve high word of return value like other archs doMichael Shalayeff
2004-02-09Repair "set loginterface". Don't flush stats on pfctl -e. pf_status.sinceCedric Berger
is the time of last "pf -e" or "pf -d". ok dhartmei@ henning@
2004-02-08Remove unused files.Alexander Yurchenko
ok tdeval@ millert@ drahn@
2004-02-08for the via c3 use software aes keys, thereby permitting 192 and 256.Theo de Raadt
this also speed things up substantially. ipsec tested by markus
2004-02-08if_detach_rtdelete(): abort and restart rn_walktree() if a cloning routeMarkus Friedl
gets deleted; fixes pr 3649; ok henning, deraadt, dhartmei
2004-02-08minimum CPPFLAGSTheo de Raadt
2004-02-08Fix kernel panic which occurs under very high load:Ryan Thomas McBride
- Make sure we calculate the correct maximum size for PFSYNC_ACT_UREQ. - Make pfsync_sendout() return immediately if there is nothing to send.
2004-02-08ignore RAMDISK_CD tooTheo de Raadt
2004-02-08better one; from mickeyTheo de Raadt
2004-02-08ramdisk; from mickeyTheo de Raadt
2004-02-08correct ramdisk supportTheo de Raadt
2004-02-08save kernel space; full unroll is not needed; from freebsdTheo de Raadt
2004-02-08Pull in a few recent changes from FreeBSD, plus a couple of localKenneth R Westerback
tweaks. ok deraadt@.
2004-02-08restored & repaired wcookie support; kettenis@chello.nlTheo de Raadt
2004-02-07If scsi_probe_bus() is called with a particular lun, ensure that lun 0Kenneth R Westerback
information is available to make the new lun validation logic work. i.e. don't find phantom luns just because the user asks about them. Also ensure the lun value given does not exceed the maximum valid lun for a bus, rather than assuming the maximum valid lun is 7. ok tdeval@ deraadt@.
2004-02-07permit entry into arch/cats and arch/amd64Theo de Raadt
2004-02-07Always disable interrupts on a controller for polled commands.Alexander Yurchenko
This solves a long standing problem with hangs during attaching scsibus at atapiscsi on some i386 machines. Help in debugging the problem pval@. Testing pval@, deraadt@, david@ and me on several machines. ok costa@ tdeval@ pb@ deraadt@
2004-02-07Final bits to make IT8212F working:Alexander Yurchenko
- don't touch bus speed register; - don't try to setup the chip in compat mode, it's native always; - disable cable check, it works only in cpu firmware mode. Testing Aubert Guillaume <aubertguillaume@wanadoo.fr>
2004-02-07Add a few more sensors types like in NetBSD. Not used for now.Alexander Yurchenko
2004-02-07Be sure to flag pte constants as UL, and cope with this in locore.Miod Vallat
ok deraadt@