Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bye bye netiso, you won't be missed | 2004-07-15 | 65 | -28314/+0 | |
| | | | | ok millert deraadt | ||||
* | Minor fixes suggested by nordin@ and henning@ | 2004-06-25 | 1 | -7/+2 | |
| | | | | ok millert@ | ||||
* | This moves access to wall and uptime variables in MI code, | 2004-06-24 | 3 | -11/+10 | |
| | | | | | | | | | | | | | | encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@ | ||||
* | First step towards more sane time handling in the kernel -- this changes | 2004-06-21 | 2 | -8/+4 | |
| | | | | | | | | things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@ | ||||
* | Use arc4random; request art@ deraadt@ | 2004-06-20 | 1 | -2/+2 | |
| | |||||
* | Do not use time based randomization; ok deraadt@ | 2004-06-20 | 1 | -3/+2 | |
| | |||||
* | goodbye TUBA. deraadt ok | 2004-06-20 | 7 | -959/+3 | |
| | |||||
* | put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros | 2004-01-03 | 12 | -24/+24 | |
| | | | | | | | to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@. | ||||
* | de-register. deraadt ok | 2003-12-10 | 35 | -402/+403 | |
| | |||||
* | Correct off-by-ones with respect to PRC_NCMDS. Mostly from FreeBSD. | 2003-09-28 | 3 | -6/+6 | |
| | | | | OK krw@, deraadt@ | ||||
* | Typos: defintion -> definition, proccess -> process | 2003-09-26 | 1 | -2/+2 | |
| | | | | | There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment. | ||||
* | Remove some double semicolons (hmm, do two semis equal a maxi?). | 2003-08-06 | 1 | -2/+2 | |
| | | | | I've skipped the GNU stuff for now. From Patrick Latifi. | ||||
* | do not flip ip_len/ip_off in netinet stack. deraadt ok. | 2003-07-09 | 2 | -5/+7 | |
| | | | | (please test, especially PF portion) | ||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 63 | -378/+126 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | string fix | 2003-05-03 | 1 | -2/+2 | |
| | |||||
* | intial -> initial; | 2003-02-18 | 1 | -2/+2 | |
| | | | | | | | the great intial witch hunt, as prompted by tdeval@ os-aix-dso.c: ok henning@ ab.C: ok drahn@ | ||||
* | Fix a problem where passing NULL as a pointer with varargs does not promote | 2002-08-28 | 2 | -4/+4 | |
| | | | | | | | | NULL to full 64 bits on a 64 bit address system. Soultion is to add a (void *) cast before NULL. This makes a 64 bit MIPS kernel work and will probably help future 64 bit ports as well. OK from art@ | ||||
* | Use & to test if bits are set, not &&; art@ ok. | 2002-08-08 | 1 | -2/+2 | |
| | |||||
* | fix potential NULL pointer deref. From: tedu <grendel@zeitbombe.org> | 2002-07-31 | 1 | -2/+2 | |
| | |||||
* | inital -> initial | 2002-07-02 | 1 | -2/+2 | |
| | |||||
* | arguement -> argument | 2002-04-30 | 1 | -2/+2 | |
| | |||||
* | wierd -> weird | 2002-04-29 | 1 | -3/+3 | |
| | |||||
* | m_freem(NULL) bad style, ok jason@ | 2002-03-26 | 2 | -4/+4 | |
| | |||||
* | Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things | 2002-03-15 | 12 | -156/+12 | |
| | | | | the ANSI way. | ||||
* | Cosmetic changes only, primarily making comments line up nicely after the | 2002-03-15 | 2 | -29/+45 | |
| | | | | __P removal. | ||||
* | Final __P removal plus some cosmetic fixups | 2002-03-14 | 2 | -8/+8 | |
| | |||||
* | First round of __P removal in sys | 2002-03-14 | 25 | -341/+326 | |
| | |||||
* | bye bye. i delete this not because it is disgusting, but because it is disgusting code in the wrong place | 2002-02-18 | 19 | -3689/+0 | |
| | |||||
* | more than typo | 2001-11-19 | 1 | -2/+2 | |
| | |||||
* | occured->occurred | 2001-09-20 | 2 | -6/+6 | |
| | | | | | idea from deraadt@ via NetBSD millert@ ok | ||||
* | make sure that va_start() has matching va_end() | 2001-09-05 | 1 | -2/+2 | |
| | |||||
* | More old timeouts removal, mainly affected unused/unmaintained code. | 2001-08-19 | 3 | -11/+23 | |
| | |||||
* | #(endif|else) foo is incorrect, make it #endif /* foo */ | 2001-08-12 | 7 | -30/+30 | |
| | | | | deraadt@ ok | ||||
* | Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, depending | 2001-06-27 | 4 | -8/+8 | |
| | | | | on how macros should be treated. Code by fgsch@, ok by me and itojun@ | ||||
* | Don't double-clear M_PKTHDR/tags. | 2001-06-25 | 1 | -3/+1 | |
| | |||||
* | Move common post M_COPY_HDR manipulation to the macro itself; angelos@ ok. | 2001-06-25 | 3 | -9/+3 | |
| | |||||
* | Likewise, use m_tag_init() | 2001-06-23 | 1 | -2/+2 | |
| | |||||
* | change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange. | 2001-06-15 | 1 | -3/+1 | |
| | | | | | | | | follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific interfaces only). was: if_lastchange get updated on every packet transmission/receipt. now: if_lastchange get updated when IFF_UP is changed. | ||||
* | More tag fixups (why do I bother with this...) | 2001-05-27 | 4 | -6/+15 | |
| | |||||
* | recover old acecept(2) behavior (no ECONNABORTED) for unix domain socket. | 2001-05-25 | 1 | -4/+4 | |
| | | | | | it is to be friendly with postfix daemon-to-daemon communication (not 100% sure if which behavior is correct, specwise). patch similar to netbsd. | ||||
* | Dereference mbuf after validity check (tedu@heorot.stanford.edu) | 2001-05-24 | 1 | -2/+2 | |
| | |||||
* | Initialize packet tags. | 2001-05-22 | 1 | -2/+4 | |
| | |||||
* | Convert from tdbi to packet tags. | 2001-05-20 | 1 | -2/+2 | |
| | |||||
* | No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok) | 2001-05-16 | 8 | -42/+26 | |
| | |||||
* | Get rid of CLSIZE and all related stuff. | 2001-05-05 | 1 | -2/+2 | |
| | | | | | | | | | CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time. | ||||
* | Use M_COPY_PKTHDR(), and zero out tdbi. | 2001-03-23 | 1 | -3/+4 | |
| | |||||
* | allow changing number of loopbacks in ukc. | 2001-02-06 | 1 | -6/+2 | |
| | | | | | | change rest of the code to use lo0ifp pointing to the corresponding struct ifnet. itojun@ and niklas@ ok | ||||
* | pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). | 2001-01-19 | 4 | -12/+13 | |
| | | | | | | | | | | | | | | | | | | | have sys/net/route.c:rtrequest1(), which takes rt_addrinfo * as the argument. pass rt_addrinfo all the way down to rtrequest, and ifa->ifa_rtrequest. 3rd arg of ifa->ifa_rtrequest is now rt_addrinfo * instead of sockaddr * (almost noone is using it anyways). benefit: the follwoing command now works. previously we need two route(8) invocations, "add" then "change". # route add -inet6 default ::1 -ifp gif0 remove unsafe typecast in rtrequest(), from rtentry * to sockaddr *. it was introduced by 4.3BSD-reno and never corrected. XXX is eon_rtrequest() change correct regarding to 3rd arg? eon_rtrequest() and rtrequest() were incorrect since 4.3BSD-reno, so i do not have correct answer in the source code. someone with more clue about netiso-over-ip, please help. | ||||
* | take MIN/MAX from param.h, okay theo@ | 2000-06-16 | 1 | -3/+1 | |
| | |||||
* | clear m->m_pkthdr when changing mbuf type to M_PKTHDR. | 2000-02-25 | 1 | -1/+2 | |
| | | | | without it, junk pointer in m->m_pkthdr.tdbi may bite us. |