summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
1998-08-06Use single line geometry printing. Looks just like sd, now.Jason Downs
1998-08-05fix ifc_len == 0 hack for variable size structures.Todd C. Miller
1998-08-05add missing check for msg.msg_iovlen <= 0Todd C. Miller
1998-08-05return EMSGSIZE, not EINVAL is msg_iovlen <= 0 as per XPG 4.2Todd C. Miller
When comparing against UIO_SMALLIOV/UIO_MAXIOV check for >, not >=
1998-08-05Add IOV_MAX from XPG 4.2. This supercedes UIO_MAXIOV so mark it as such.Todd C. Miller
1998-08-05delete bogus casts of msg_iovlen to u_int since msg_iovlen is already a u_intTodd C. Miller
1998-08-04fix resid wrt debugging printfTodd C. Miller
1998-08-04fix type of resid in debugging printfTodd C. Miller
1998-08-04fix type of resid in printfTodd C. Miller
1998-08-04make resid size_tTodd C. Miller
1998-08-04make b_resid size_tTodd C. Miller
1998-08-04don't rely on b_resid being signedTodd C. Miller
1998-08-04Add hack to SIOCGIFCONF where if ifc_len is 0, fill it in with the size ↵Todd C. Miller
needed and return; Linux does this too. Suggested by cmetz@inner.net
1998-08-04Change K6 3D to K6-2 (ewww) and set the Intel 686 model 5 as a P2.Jason Downs
1998-08-04Fix by Federico G. Schwindt <fgsch@olimpo.com.br> for YM ISA PNP driverConstantine Sapuntzakis
1998-08-02cleanup ipsec error handlingNiels Provos
1998-08-02#define TUNMRU as 16384 and allow incoming packetsbrian
of up to this size rather than restricting them based on our MTU.
1998-08-01more careful error handling, some simplification and beautification.Niels Provos
1998-07-31Match generic SVEC pcmcia NE2000 clone that identifies itself as 'Ethernet ↵Todd C. Miller
Adapter 2.0'. You just don't get any more generic than that do you? These boards are dirt cheap.
1998-07-30LIF file systemMichael Shalayeff
1998-07-30lif file device for tape, net, etc bootMichael Shalayeff
1998-07-30Correct comment about descriptor swap bit.Per Fogelstrom
1998-07-30fixing a stupid bug I introduced when trying to improve the encryptionNiels Provos
performance by avoiding unnecessary copies. There was a problem when two subsequent mbufs were != 0 mod blocksize and the next < blocksize, so we lost the rest of the last mbuf as IV.
1998-07-30Forgot this one with the previous batch of commits; use ip4_input()Angelos D. Keromytis
instead of ipip_input() whenever possible, it seems more stable.
1998-07-29Proper handling of IP in IP and checksumming.Angelos D. Keromytis
1998-07-29Don't do checksumming unless we're doing IP-in-IP.Angelos D. Keromytis
1998-07-29real user .text baseMichael Shalayeff
1998-07-29add strchr protoMichael Shalayeff
1998-07-29some debug prints; one lseek fixMichael Shalayeff
1998-07-29if() debug prints; correct handling sym-less filesMichael Shalayeff
1998-07-28vn_rdwr proto fallout I missed earlierTodd C. Miller
1998-07-28writev takes an int as param #3; theoTodd C. Miller
1998-07-28For read, write, send, sendto, recv, recvfrom return EINVAL is size arg > ↵Todd C. Miller
SSIZE_MAX. For readv, writev, sendmsg, recvmsg return EINVAL if sum of the over iov_len values overflows an ssize_t. Based on what XPG 4.2 says (though XPG is not entirely consistent here). Basically since the return value is ssize_t allowing size > SSIZE_MAX is bad since people who (incorrectly mind you) check the return value for < 0 instead of == -1 will have bad things happen to them.
1998-07-28Fix indentation problems.Constantine Sapuntzakis
Remove annoying printf.
1998-07-28Disable ISA PNP devices before ISA scanConstantine Sapuntzakis
1998-07-28Don't assume uio_resid can go negative when detecting oflowTodd C. Miller
1998-07-28Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned ↵Todd C. Miller
(size_t) and don't return EINVAL if it is < 0 in sys_{read,write}. Remove check for uio_resid < 0 uiomove() now that uio_resid is unsigned and brack remaining panics with #ifdef DIAGNOSTIC. vn_rdwr() must now take a size_t * as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more
1998-07-27oops, remove bugus trailing spacesMarco S Hyman
1998-07-27Fix BATT_REMAINING macro so it returns values in minutes (as documented)Marco S Hyman
not seconds
1998-07-27make LIF definitions machine-wideMichael Shalayeff
fix bug w/ blank LIF file names (\t crept into "" string), use memset don't prepend names w/ SYS_
1998-07-27machine-wide LIF definitionsMichael Shalayeff
1998-07-26clean up some things left from my debugging activity.Matthieu Herrb
In particular remove the OVERRIDE_ directives specific to my board.
1998-07-24Kill the god damned COMPAT_12. Thanks, guys.Jason Downs
1998-07-24-lcurses, not termcap/termlibTodd C. Miller
1998-07-23do delays based on command type -- this works a lot better, make "mt status"Theo de Raadt
show much more information; ross
1998-07-23add new non-functional ioctl values from netbsdTheo de Raadt
1998-07-23syncTheo de Raadt
1998-07-23undo mass vendor addition which makes floppies too largeTheo de Raadt
1998-07-23brooktree driver, hacked by matthieu. This needs cleaning now that it is in ↵Theo de Raadt
the tree
1998-07-23Support drives > 8.4GBConstantine Sapuntzakis
For LBA-capable drives, return the number of LBA sectors as secperunit, not the number you get from CHS. Note, DOS partition tables are limited to 8.4GB. The interactive disklabel editor will notice that the OpenBSD partition ends at 8.4GB and limit the user to that size unless the user explicitly specifies the bounds. This should probably be changed.