openbsd
27 years agoprint !A on ICMP_UNREACH_ADM_PROHIB too
kstailey [Thu, 30 Jan 1997 07:07:07 +0000 (07:07 +0000)]
print !A on ICMP_UNREACH_ADM_PROHIB too

27 years agoadded #define for Communication Administratively Prohibited
kstailey [Thu, 30 Jan 1997 07:01:45 +0000 (07:01 +0000)]
added #define for Communication Administratively Prohibited
as in RFC-1812 Section 5.2.7.1 Destination Unreachable

27 years agono need to recalc width before each select
deraadt [Thu, 30 Jan 1997 06:03:08 +0000 (06:03 +0000)]
no need to recalc width before each select

27 years agocareful about MAXADDRS, abrown@eecs.harvard.edu
deraadt [Thu, 30 Jan 1997 05:56:06 +0000 (05:56 +0000)]
careful about MAXADDRS, abrown@eecs.harvard.edu

27 years agoproto; felix@mamba.pond.sub.org
deraadt [Thu, 30 Jan 1997 05:05:00 +0000 (05:05 +0000)]
proto; felix@mamba.pond.sub.org

27 years agoi wish i tested before every commit
deraadt [Thu, 30 Jan 1997 02:01:54 +0000 (02:01 +0000)]
i wish i tested before every commit

27 years agodomainname care
deraadt [Thu, 30 Jan 1997 02:00:26 +0000 (02:00 +0000)]
domainname care

27 years agowhere did .DESTDIR come from... found by gwen@rtmx.com
deraadt [Thu, 30 Jan 1997 00:51:50 +0000 (00:51 +0000)]
where did .DESTDIR come from... found by gwen@rtmx.com

27 years agoHave file recognize PowerPC elf objects. Works for MSB objects currently.
rahnds [Wed, 29 Jan 1997 22:31:46 +0000 (22:31 +0000)]
Have file recognize PowerPC elf objects. Works for MSB objects currently.
Should work for LSB objects?

27 years agoBreak out of infinite loop ftp://home.host/som/path mode if host
millert [Wed, 29 Jan 1997 22:21:32 +0000 (22:21 +0000)]
Break out of infinite loop ftp://home.host/som/path mode if host
does not exist.  Also, use herror, not perror if gethostbynam() fails.

27 years agoonly print passive toggle info is verbose set (like other commands)
millert [Wed, 29 Jan 1997 22:11:36 +0000 (22:11 +0000)]
only print passive toggle info is verbose set (like other commands)

27 years agocalculate string length in format() more efficiently
kstailey [Wed, 29 Jan 1997 18:33:56 +0000 (18:33 +0000)]
calculate string length in format() more efficiently

27 years agoExport comdefaultrate
niklas [Wed, 29 Jan 1997 17:56:35 +0000 (17:56 +0000)]
Export comdefaultrate

27 years ago#include "../../../dev/isa/comreg.h" -> #include "../../../dev/ic/comreg.h"
graichen [Wed, 29 Jan 1997 11:09:22 +0000 (11:09 +0000)]
#include "../../../dev/isa/comreg.h" -> #include "../../../dev/ic/comreg.h"

27 years agosignal.h -> siginfo.h -> time.h fallout
deraadt [Wed, 29 Jan 1997 07:58:35 +0000 (07:58 +0000)]
signal.h -> siginfo.h -> time.h fallout

27 years agoMatch com changes.
downsj [Wed, 29 Jan 1997 06:23:31 +0000 (06:23 +0000)]
Match com changes.

27 years agogetopt & int
deraadt [Wed, 29 Jan 1997 01:28:03 +0000 (01:28 +0000)]
getopt & int

27 years agorepair quotactl() types
deraadt [Tue, 28 Jan 1997 21:28:43 +0000 (21:28 +0000)]
repair quotactl() types

27 years agodo not call err/errx with extra newlines
deraadt [Tue, 28 Jan 1997 21:05:24 +0000 (21:05 +0000)]
do not call err/errx with extra newlines

27 years agogetcwd() not getwd()
millert [Tue, 28 Jan 1997 20:48:40 +0000 (20:48 +0000)]
getcwd() not getwd()

27 years agoPut back lost VOP_GETATTR call, but in a better place
niklas [Tue, 28 Jan 1997 18:50:21 +0000 (18:50 +0000)]
Put back lost VOP_GETATTR call, but in a better place

27 years agouse scsiprint
deraadt [Tue, 28 Jan 1997 10:53:41 +0000 (10:53 +0000)]
use scsiprint

27 years agohp300 compat for siginfo
deraadt [Tue, 28 Jan 1997 09:01:31 +0000 (09:01 +0000)]
hp300 compat for siginfo

27 years agodeal with siginfo addition
deraadt [Tue, 28 Jan 1997 09:01:02 +0000 (09:01 +0000)]
deal with siginfo addition

27 years agorepairs by msaitoh@spa.is.uec.ac.jp
deraadt [Tue, 28 Jan 1997 07:16:41 +0000 (07:16 +0000)]
repairs by msaitoh@spa.is.uec.ac.jp

27 years agofor total use -t; tsarna@endicor.com
deraadt [Tue, 28 Jan 1997 07:12:25 +0000 (07:12 +0000)]
for total use -t; tsarna@endicor.com

27 years agointuit more info from dmesg, hubert.feyrer@rz.uni-regensburg.de
deraadt [Tue, 28 Jan 1997 07:07:36 +0000 (07:07 +0000)]
intuit more info from dmesg, hubert.feyrer@rz.uni-regensburg.de

27 years agoOnly print the partition if doing multiple devices.
millert [Tue, 28 Jan 1997 04:21:25 +0000 (04:21 +0000)]
Only print the partition if doing multiple devices.

27 years agoRevert back to old fsirand but do things a cylinder group at a time
millert [Tue, 28 Jan 1997 04:14:55 +0000 (04:14 +0000)]
Revert back to old fsirand but do things a cylinder group at a time
and allow multiple devices.

27 years agoadd addr arg to sendsig/trapsignal; no siginfo_t support yet
deraadt [Tue, 28 Jan 1997 03:54:52 +0000 (03:54 +0000)]
add addr arg to sendsig/trapsignal; no siginfo_t support yet

27 years agoencourage a few more udp whacks at the server
deraadt [Tue, 28 Jan 1997 02:22:35 +0000 (02:22 +0000)]
encourage a few more udp whacks at the server

27 years agoFaster fsirand based in part on code from fsck_ffs.
millert [Mon, 27 Jan 1997 23:21:55 +0000 (23:21 +0000)]
Faster fsirand based in part on code from fsck_ffs.

27 years agoselect subsystem si_pid becomes si_selpid, to not conflict against user/kernel siginf...
deraadt [Mon, 27 Jan 1997 23:20:59 +0000 (23:20 +0000)]
select subsystem si_pid becomes si_selpid, to not conflict against user/kernel siginfo si_pid #define

27 years agoadd another parameter to trapsignal() and sendsig() -- fault addr to be
deraadt [Mon, 27 Jan 1997 22:47:57 +0000 (22:47 +0000)]
add another parameter to trapsignal() and sendsig() -- fault addr to be
delivered with in the siginfo information

27 years agoremove items that are no longer an issue.
rahnds [Mon, 27 Jan 1997 22:32:29 +0000 (22:32 +0000)]
remove items that are no longer an issue.

27 years agoPatches file can be removed. All change necessary to build powerpc
rahnds [Mon, 27 Jan 1997 22:01:45 +0000 (22:01 +0000)]
Patches file can be removed. All change necessary to build powerpc
port are now checked in. Doesn't necessarily mean that the port
doesn't need more work...

27 years agoSupport fdisk on bigendian systems. Does the necessary byte swabbing to
rahnds [Mon, 27 Jan 1997 21:57:34 +0000 (21:57 +0000)]
Support fdisk on bigendian systems. Does the necessary byte swabbing to
read and write the fdisk label. Added powerpc to systems to build this for.
Currently uses local functions getshort, putshort, getlong, and putlong.
These functions probably should be moved and renamed. Something like
htoles, letohs, htolel, letohl, or htole16, htole32 should be used instead.

27 years agosecurity
dm [Mon, 27 Jan 1997 20:44:12 +0000 (20:44 +0000)]
security

27 years agoprototyping problems, PR#71, felix@mamba.pond.sub.org
deraadt [Mon, 27 Jan 1997 20:34:10 +0000 (20:34 +0000)]
prototyping problems, PR#71, felix@mamba.pond.sub.org

27 years agoAdded a WARNING about not using it to detect back doors.
bitblt [Mon, 27 Jan 1997 20:14:21 +0000 (20:14 +0000)]
Added a WARNING about not using it to detect back doors.

27 years agobad chr->blk mappings; randy@rtmx.com
deraadt [Mon, 27 Jan 1997 19:50:04 +0000 (19:50 +0000)]
bad chr->blk mappings; randy@rtmx.com

27 years agodefine AOUT_MACHTYPE. This is OpenBSD/vax not OpenBSD bigendian....-moj
maja [Mon, 27 Jan 1997 13:45:06 +0000 (13:45 +0000)]
define AOUT_MACHTYPE. This is OpenBSD/vax not OpenBSD bigendian....-moj

27 years agoNetBSD PR#3147. From Walter Ruetten--walter@ghpc8.ihf.rwth-aachen.de.
briggs [Mon, 27 Jan 1997 13:27:17 +0000 (13:27 +0000)]
NetBSD PR#3147.  From Walter Ruetten--walter@ghpc8.ihf.rwth-aachen.de.
- Truncate video address in PTE.  Apparently some cards use wierd offsets.

27 years agoSupport lchown(2).
downsj [Mon, 27 Jan 1997 09:33:08 +0000 (09:33 +0000)]
Support lchown(2).

27 years agomore #define fallout from union hiding in siginfo
deraadt [Mon, 27 Jan 1997 07:57:03 +0000 (07:57 +0000)]
more #define fallout from union hiding in siginfo

27 years agochange prompt to ddb to match man page ddb(4)
deraadt [Mon, 27 Jan 1997 07:53:53 +0000 (07:53 +0000)]
change prompt to ddb to match man page ddb(4)

27 years agoFallout from signal.h's inclusion of sys/time.h...
millert [Mon, 27 Jan 1997 07:32:33 +0000 (07:32 +0000)]
Fallout from signal.h's inclusion of sys/time.h...

27 years agoSet MACHINE_ARCH only if it's not already in the environment. Update
briggs [Mon, 27 Jan 1997 05:24:09 +0000 (05:24 +0000)]
Set MACHINE_ARCH only if it's not already in the environment.  Update
comment accordingly.  Patch from Dale Rahn.

27 years agoNo more static buffers. We can operate on any sized files now.
millert [Mon, 27 Jan 1997 04:06:49 +0000 (04:06 +0000)]
No more static buffers.  We can operate on any sized files now.

27 years agofix typo
millert [Mon, 27 Jan 1997 03:40:58 +0000 (03:40 +0000)]
fix typo

27 years agoFix another 16 bit operation on a 32 bit quantity.
rahnds [Mon, 27 Jan 1997 03:40:09 +0000 (03:40 +0000)]
Fix another 16 bit operation on a 32 bit quantity.
don't do and of 16 bit quantity on a 32 bit register.
Also gets rid of the assembler warning/error.

27 years agogive up on si_pid for now
deraadt [Mon, 27 Jan 1997 03:18:09 +0000 (03:18 +0000)]
give up on si_pid for now

27 years agomatch svr4 siginfo changes
deraadt [Mon, 27 Jan 1997 01:17:08 +0000 (01:17 +0000)]
match svr4 siginfo changes

27 years agodo not conflict against generic siginfo!
deraadt [Mon, 27 Jan 1997 01:16:51 +0000 (01:16 +0000)]
do not conflict against generic siginfo!

27 years agoi386 part of siginfo
deraadt [Mon, 27 Jan 1997 01:16:12 +0000 (01:16 +0000)]
i386 part of siginfo

27 years agoinitial cut at SA_SIGINFO support
deraadt [Mon, 27 Jan 1997 01:15:29 +0000 (01:15 +0000)]
initial cut at SA_SIGINFO support

27 years agoNevermind, I looked at it wrong.
downsj [Mon, 27 Jan 1997 00:50:30 +0000 (00:50 +0000)]
Nevermind, I looked at it wrong.

27 years agoAs of 2.1.14, Linux chown() doesn't follow symlinks either.
downsj [Mon, 27 Jan 1997 00:33:04 +0000 (00:33 +0000)]
As of 2.1.14, Linux chown() doesn't follow symlinks either.

27 years agoUse lchown(2) instead.
downsj [Mon, 27 Jan 1997 00:18:36 +0000 (00:18 +0000)]
Use lchown(2) instead.

27 years ago__mc68k__ -> m68k
downsj [Mon, 27 Jan 1997 00:00:03 +0000 (00:00 +0000)]
__mc68k__ -> m68k

27 years agoRegen.
downsj [Sun, 26 Jan 1997 23:54:02 +0000 (23:54 +0000)]
Regen.

27 years agoSince these are old systems, call lchown() in place of chown().
downsj [Sun, 26 Jan 1997 23:52:03 +0000 (23:52 +0000)]
Since these are old systems, call lchown() in place of chown().

27 years agoAdd a link for lchown.2
downsj [Sun, 26 Jan 1997 23:36:13 +0000 (23:36 +0000)]
Add a link for lchown.2

27 years agoWe don't follow old 4.4BSD symlink semantics anylonger.
downsj [Sun, 26 Jan 1997 23:34:54 +0000 (23:34 +0000)]
We don't follow old 4.4BSD symlink semantics anylonger.

27 years agoRegen.
downsj [Sun, 26 Jan 1997 23:08:06 +0000 (23:08 +0000)]
Regen.

27 years agoWe can do lchown(2) now.
downsj [Sun, 26 Jan 1997 23:02:24 +0000 (23:02 +0000)]
We can do lchown(2) now.

27 years agosupport for lchown(2) if "-p" is used
kstailey [Sun, 26 Jan 1997 22:04:45 +0000 (22:04 +0000)]
support for lchown(2) if "-p" is used

27 years agoDon't examine an mbuf after it has been released; from Andreas Gunnarsson
tholo [Sun, 26 Jan 1997 21:43:36 +0000 (21:43 +0000)]
Don't examine an mbuf after it has been released; from Andreas Gunnarsson

27 years agoNuke cruft from NetBSD merge (max_target).
briggs [Sun, 26 Jan 1997 18:57:04 +0000 (18:57 +0000)]
Nuke cruft from NetBSD merge (max_target).

27 years agoEven if the objs are cached, we want to find the Makefile
niklas [Sun, 26 Jan 1997 12:57:14 +0000 (12:57 +0000)]
Even if the objs are cached, we want to find the Makefile

27 years agoSome more KNF
niklas [Sun, 26 Jan 1997 11:00:07 +0000 (11:00 +0000)]
Some more KNF

27 years agoSupport lchown().
downsj [Sun, 26 Jan 1997 10:33:22 +0000 (10:33 +0000)]
Support lchown().

27 years agoFixed a busification bug (some may well remain), as well as some KNF issues
niklas [Sun, 26 Jan 1997 10:02:07 +0000 (10:02 +0000)]
Fixed a busification bug (some may well remain), as well as some KNF issues

27 years agoAdd missing documentation; build and install it.
downsj [Sun, 26 Jan 1997 09:53:18 +0000 (09:53 +0000)]
Add missing documentation; build and install it.

27 years agocpio 2.4.2, including texinfo file. supports lchown().
downsj [Sun, 26 Jan 1997 09:35:03 +0000 (09:35 +0000)]
cpio 2.4.2, including texinfo file.  supports lchown().

27 years agoChange to fix bug with constant handling in locore.
rahnds [Sun, 26 Jan 1997 09:06:38 +0000 (09:06 +0000)]
Change to fix bug with constant handling in locore.
16 bit operations should not be done on 32 bit quantities.

27 years agochange constant handling with @l.
rahnds [Sun, 26 Jan 1997 08:17:27 +0000 (08:17 +0000)]
change constant handling with @l.
if the expected argument to the opcode is unsigned,
return (val & 0xffff)
if the expected argument to the occode is signed,
sign extend the 16 bit value
short = val;
val = (int) short;

27 years agoCheck malloc() return value.
downsj [Sun, 26 Jan 1997 08:00:52 +0000 (08:00 +0000)]
Check malloc() return value.

27 years agochange default data limit so that source build will work without modifications.
rahnds [Sun, 26 Jan 1997 06:42:20 +0000 (06:42 +0000)]
change default data limit so that source build will work without modifications.

27 years agoEnable -h for calling lchown(2) instead of chown(2), and fix rcs ids.
downsj [Sun, 26 Jan 1997 05:54:26 +0000 (05:54 +0000)]
Enable -h for calling lchown(2) instead of chown(2), and fix rcs ids.

27 years agoRegen.
downsj [Sun, 26 Jan 1997 05:20:57 +0000 (05:20 +0000)]
Regen.

27 years agoAdd lchown(2).
downsj [Sun, 26 Jan 1997 05:18:27 +0000 (05:18 +0000)]
Add lchown(2).

27 years agoAdd lchown() declaration.
downsj [Sun, 26 Jan 1997 05:11:16 +0000 (05:11 +0000)]
Add lchown() declaration.

27 years agoAdd lchown(), increment minor number.
downsj [Sun, 26 Jan 1997 05:10:30 +0000 (05:10 +0000)]
Add lchown(), increment minor number.

27 years agoDynamic buffering to handle arbitrary line length and center option from FreeBSD
millert [Sun, 26 Jan 1997 03:56:52 +0000 (03:56 +0000)]
Dynamic buffering to handle arbitrary line length and center option from FreeBSD
I also cleaned it up to pass -Wall and check malloc().

27 years agoadd fsirand
millert [Sun, 26 Jan 1997 02:26:03 +0000 (02:26 +0000)]
add fsirand

27 years agoffs inode randomizer
millert [Sun, 26 Jan 1997 02:23:20 +0000 (02:23 +0000)]
ffs inode randomizer

27 years agoMake ip_len and ip_off unsigned values; don't transmit or accept packets
tholo [Sun, 26 Jan 1997 01:23:42 +0000 (01:23 +0000)]
Make ip_len and ip_off unsigned values; don't transmit or accept packets
larger than the maximum IP packet size.  From NetBSD.

27 years agouse mktemp(1) to avoid /tmp race; spotted by dholland@eecs.harvard.edu
deraadt [Sun, 26 Jan 1997 00:22:28 +0000 (00:22 +0000)]
use mktemp(1) to avoid /tmp race; spotted by dholland@eecs.harvard.edu

27 years agobye
deraadt [Sun, 26 Jan 1997 00:05:43 +0000 (00:05 +0000)]
bye

27 years agofor implied stdin, do not corrupt argv[0]
deraadt [Sun, 26 Jan 1997 00:02:25 +0000 (00:02 +0000)]
for implied stdin, do not corrupt argv[0]

27 years agoDon't do disruptive time corrections if tick size is not integral; from
tholo [Sat, 25 Jan 1997 23:35:58 +0000 (23:35 +0000)]
Don't do disruptive time corrections if tick size is not integral; from
Dennis Ferguson (NetBSD PR #2788)

27 years agoImprove adjtime() for odd hz values; from Dennis Ferguson (NetBSD PR# 2787)
tholo [Sat, 25 Jan 1997 23:31:47 +0000 (23:31 +0000)]
Improve adjtime() for odd hz values; from Dennis Ferguson (NetBSD PR# 2787)

27 years agoAttempt to give the entire passed address to getnetbyaddr() before starting
tholo [Sat, 25 Jan 1997 23:26:42 +0000 (23:26 +0000)]
Attempt to give the entire passed address to getnetbyaddr() before starting
to try various network masks

27 years agoDon't include bogus information here
tholo [Sat, 25 Jan 1997 23:13:56 +0000 (23:13 +0000)]
Don't include bogus information here

27 years agosplit cd() into two pieces, whoever was here last did a bad job
deraadt [Sat, 25 Jan 1997 21:42:27 +0000 (21:42 +0000)]
split cd() into two pieces, whoever was here last did a bad job

27 years agonever hand over a nonresv port, even if asked. problem reported by gmeinerj@ZUMtOBEL...
deraadt [Sat, 25 Jan 1997 21:30:37 +0000 (21:30 +0000)]
never hand over a nonresv port, even if asked. problem reported by gmeinerj@ZUMtOBEL.co.at

27 years agodo not change PATH
deraadt [Sat, 25 Jan 1997 21:16:44 +0000 (21:16 +0000)]
do not change PATH

27 years agoChanged my mind about where to do this.
dm [Sat, 25 Jan 1997 17:37:34 +0000 (17:37 +0000)]
Changed my mind about where to do this.

27 years agoUse ${CC:-cc} instead of cc
niklas [Sat, 25 Jan 1997 14:27:43 +0000 (14:27 +0000)]
Use ${CC:-cc} instead of cc