summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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@
2004-02-07pass correct argument count to ktrsyscall(); now ktrace & kdump workTheo de Raadt
2004-02-07syncTheo de Raadt
2004-02-07new fxp; cmetzTheo de Raadt
2004-02-07Use the offset provided to us by m_pulldown(), rather than using size ofRyan Thomas McBride
ip and pfsync headers. This makes us behave correctly if the packet is spread across multiple mbufs (which does not appear to happen in practice).
2004-02-06as seen in netbsd. crank bpf sizes to adapt to faster networks.Ted Unangst
max size goes to 2MB, default goes to 32k. ok canacar@ mcbride@
2004-02-06default db.log=1. as noted by Sam Smith, this is more useful. mickey concurredTed Unangst
2004-02-06permit IPv6-only operation (permit AF_INET6 bind(2) without IPv4 address).Jun-ichiro itojun Hagino
found by todd fries. markus ok
2004-02-06No SUBDIRs here.Dale Rahn
2004-02-06fix machine/machine_arch, machine_arch should be arm for all arm systemsDale Rahn
and machine needs to be not set by arch/arm, but by cats.
2004-02-06some cpus start to have a NX oriented PGEX_ITheo de Raadt
2004-02-05Decrement reference count in error case if uvm_map(9) fails and weTodd C. Miller
had previously increased the reference count. Should not happen, but... From dhartmei@; ok deraadt@
2004-02-05Correct a reference counting bug in shmat(2); adapted from FreeBSD.Todd C. Miller
OK deraadt@ tedu@ dhartmei@
2004-02-05expose two more functionsTheo de Raadt
2004-02-05xlint compatible headers. (non-gcc)Dale Rahn
2004-02-052 new cpuid ecx features in prescottTheo de Raadt
2004-02-05remove never-to-be-used codepath (IPv4 mapped address). ok mcbrideJun-ichiro itojun Hagino