]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoGet buffer stuff by #including <sys/buf.h> instead of <sys/vnode.h>.
bde [Tue, 18 Nov 1997 15:16:43 +0000 (15:16 +0000)]
Get buffer stuff by #including <sys/buf.h> instead of <sys/vnode.h>.

Staticized boot().

Fixed a gratuitous ANSIism.

26 years agoRemoved an unused #include in the `#ifdef KERNEL' case.
bde [Tue, 18 Nov 1997 15:10:38 +0000 (15:10 +0000)]
Removed an unused #include in the `#ifdef KERNEL' case.

Fixed a comment to match the code.  The code is still wrong
(ffs_checkoverlap() should be staticized and called from a
ddb command).

26 years agoStaticize.
phk [Tue, 18 Nov 1997 15:07:35 +0000 (15:07 +0000)]
Staticize.

26 years agoAdd throughput logging (disabled by default).
brian [Tue, 18 Nov 1997 14:52:08 +0000 (14:52 +0000)]
Add throughput logging (disabled by default).
Use "enable throughput" to see modem & IPCP throughput.
Removed an extraneous prompt()

26 years agoStaticize a few things.
phk [Tue, 18 Nov 1997 14:40:36 +0000 (14:40 +0000)]
Staticize a few things.

26 years agoThere is no ccdread() nor ccdwrite().
phk [Tue, 18 Nov 1997 14:39:04 +0000 (14:39 +0000)]
There is no ccdread() nor ccdwrite().

26 years agounifdef -UEXT2FS
phk [Tue, 18 Nov 1997 14:20:09 +0000 (14:20 +0000)]
unifdef -UEXT2FS

26 years agoGive ext2fs it's own VOP_REMOVE, VOP_LINK, VOP_RENAME, VOP_MKDIR, VOP_RMDIR,
phk [Tue, 18 Nov 1997 14:19:44 +0000 (14:19 +0000)]
Give ext2fs it's own VOP_REMOVE, VOP_LINK, VOP_RENAME, VOP_MKDIR, VOP_RMDIR,
VOP_CREATE, VOP_MKNOD, VOP_SYMLINK and ext2_makeinode().

26 years agoRemoved unused #includes.
bde [Tue, 18 Nov 1997 14:14:34 +0000 (14:14 +0000)]
Removed unused #includes.

Police <> vs "" #include style.

26 years agoDon't test for conflicting combinations of PPP_FILTER/BPFILTER here.
bde [Tue, 18 Nov 1997 14:08:51 +0000 (14:08 +0000)]
Don't test for conflicting combinations of PPP_FILTER/BPFILTER here.
Testing in if_ppp.c is good enough.

Added comments about bogus #includes and #defines.

Removed unused #includes.

Don't depend on gcc's misfeature of rewriting short args in old-style
function definitions to match wrong prototypes.  I just changed the
function definition to match the prototype, since this is easy to
verify automatically (it causes no changes in the object code), but
it breaks K&R1 support and doesn't fix the pessimal type.

26 years agoCleaned up PPP_FILTER/NBPFILTER ifdefs.
bde [Tue, 18 Nov 1997 13:52:41 +0000 (13:52 +0000)]
Cleaned up PPP_FILTER/NBPFILTER ifdefs.

Use gettime() instead of microtime() to set if_lastchange for i/o's.
microtime() is probably too expensive.  However, setting if_lastchange
for i/o's may be wrong.

26 years agoUse gettime() instead of assignment from `time'. (`time' is too
bde [Tue, 18 Nov 1997 13:37:56 +0000 (13:37 +0000)]
Use gettime() instead of assignment from `time'.  (`time' is too
volatile to use outside of splclock().  microtime() is probably too
expensive to use for every i/o.  However, setting ifi_lastchange for
every i/o is just wrong according to the comment about ifi_lastchange
in <net/if.h>.  It is set then for atm, fddi and the latest version
of ppp.)

26 years agoRemoved an unused #include.
bde [Tue, 18 Nov 1997 13:03:48 +0000 (13:03 +0000)]
Removed an unused #include.

Fixed a style bug (one of many KNF breakages in vfs_subr.c moved here).

26 years agoGet tty ioctl numbers by #including <sys/ttycom.h> instead of
bde [Tue, 18 Nov 1997 12:59:09 +0000 (12:59 +0000)]
Get tty ioctl numbers by #including <sys/ttycom.h> instead of
<sys/tty.h>.  Don't #include <sys/fcntl.h> (the select -> poll
changes removed all dependencies on it).

26 years agoRemoved an unused #include. Added an unsed #include of <sys/ucred.h>
bde [Tue, 18 Nov 1997 12:52:10 +0000 (12:52 +0000)]
Removed an unused #include.  Added an unsed #include of <sys/ucred.h>
to prepare for not including it in <sys/param.h>.  Moved conditionally
used #includes inside an ifdef.

26 years agoRemoved an unused #include. Ifdefed a conditionally used #include.
bde [Tue, 18 Nov 1997 12:43:41 +0000 (12:43 +0000)]
Removed an unused #include.  Ifdefed a conditionally used #include.

26 years agoRemoved unused #include.
bde [Tue, 18 Nov 1997 12:24:22 +0000 (12:24 +0000)]
Removed unused #include.

26 years agoGet select stuff by including <sys/select.h> instead of <sys/proc.h>,
bde [Tue, 18 Nov 1997 12:21:32 +0000 (12:21 +0000)]
Get select stuff by including <sys/select.h> instead of <sys/proc.h>,
and don't include <sys/fcntl.h>.  (The select -> poll changes replaced
fcntl macros by poll macros.)

Use <machine/*.h> instead of <i386/include/*.h>.

Fail the probe instead of crashing in the unlikely event that malloc()
fails.

26 years agoDon't #include <i386/isa/isa_device.h>. It is now a prerequisite.
bde [Tue, 18 Nov 1997 11:47:04 +0000 (11:47 +0000)]
Don't #include <i386/isa/isa_device.h>.  It is now a prerequisite.

26 years agoRemoved unused #includes.
bde [Tue, 18 Nov 1997 11:45:26 +0000 (11:45 +0000)]
Removed unused #includes.

Fixed #include order.  <i386/isa/isa_device.h> will soon be a prerequisite
for <i386/isa/pnp.h>.  Including both in alphebetical order gets this
right naturally.

26 years agoRemoved an unused #included.
bde [Tue, 18 Nov 1997 11:32:31 +0000 (11:32 +0000)]
Removed an unused #included.

Ifdefed #includes that are not used in the SMP case.

26 years agoGet select stuff by #including <sys/select.h> instead of <sys/proc.h>.
bde [Tue, 18 Nov 1997 11:30:10 +0000 (11:30 +0000)]
Get select stuff by #including <sys/select.h> instead of <sys/proc.h>.

26 years agoRemoved #unused includes.
bde [Tue, 18 Nov 1997 11:16:56 +0000 (11:16 +0000)]
Removed #unused includes.

Added a used #include (don't depend on yet to be fixed namespace pollution).

26 years agoRemoved unused #include of <sys/malloc.h>. This file now uses only
bde [Tue, 18 Nov 1997 11:02:19 +0000 (11:02 +0000)]
Removed unused #include of <sys/malloc.h>.  This file now uses only
zalloc().  Many more cases like this are probably obscured by not
including <vm/zone.h> explicitly (it is spammed into <sys/malloc.h>).

26 years agoRemoved code for the !KERNEL case. It hasn't been maintained for 4
bde [Tue, 18 Nov 1997 10:56:41 +0000 (10:56 +0000)]
Removed code for the !KERNEL case.  It hasn't been maintained for 4
years and gives a "laugh"able number of compile-time errors (see the
comment).  main() just printed the struct sizes.  This can be done
better by compiling with -g and reading off the sizes from the stabs.

Sorted #includes.

Fixed an unsigned vs signed comparison.

26 years agoGet locking stuff by #including <sys/lock.h> instead of <sys/vnode.h>.
bde [Tue, 18 Nov 1997 10:02:40 +0000 (10:02 +0000)]
Get locking stuff by #including <sys/lock.h> instead of <sys/vnode.h>.

26 years agoDon't #include <machine/smp.h> even in the SMP case. Fixed the one
bde [Tue, 18 Nov 1997 09:27:23 +0000 (09:27 +0000)]
Don't #include <machine/smp.h> even in the SMP case.  Fixed the one
place that depended on it.  The "bazillion warnings" mentioned in the
log for rev.1.45 apparently aren't a problem any more.  It is hard
to be sure because the SIMPLELOCK_DEBUG option turns off (and breaks)
things in the SMP case.

26 years agoDon't #include <machine/smp.h> even in the SMP case. Fixed the one
bde [Tue, 18 Nov 1997 09:26:50 +0000 (09:26 +0000)]
Don't #include <machine/smp.h> even in the SMP case.  Fixed the one
place that depended on it.  The "bazillion warnings" mentioned in the
log for rev.1.45 apparently aren't a problem any more.  It is hard
to be sure because the SIMPLELOCK_DEBUG option turns off (and breaks)
things in the SMP case.

Don't forward declare structs that are already implicitly forward declared.

Fixed a disordered declaration.

26 years agoRemove the outq error in "show modem".
brian [Tue, 18 Nov 1997 08:49:03 +0000 (08:49 +0000)]
Remove the outq error in "show modem".

26 years agoDon't #include <sys/types.h>. I mistakenly #included it unconditionally
bde [Tue, 18 Nov 1997 08:07:37 +0000 (08:07 +0000)]
Don't #include <sys/types.h>.  I mistakenly #included it unconditionally
to fix some broken application.  Application breakage is now hidden by a
recently introduced wrong #include of <sys/types.h> in <sys/time.h>.
<sys/time.h> is a prerequisite for <sys/resource.h>, so the <sys/types.h>
prereqisite is automatically supplied.

Cast RLIM_INFINITY to the correct (signed) type.

26 years agoDropClient() when read() returns 0 (as it did before).
brian [Tue, 18 Nov 1997 07:33:23 +0000 (07:33 +0000)]
DropClient() when read() returns 0 (as it did before).

26 years agoFixed pedantic syntax errors caused by trailing semicolon in the
bde [Tue, 18 Nov 1997 07:23:40 +0000 (07:23 +0000)]
Fixed pedantic syntax errors caused by trailing semicolon in the
__ELF__ case of the definition of MAKE_SET() and in the PSEUDO_LKM
case of the definition of PSEUDO_SET().

26 years agoFixed pedantic syntax errors caused by the trailing semicolon in the
bde [Tue, 18 Nov 1997 06:48:43 +0000 (06:48 +0000)]
Fixed pedantic syntax errors caused by the trailing semicolon in the
definition of DOMAIN_SET().

26 years agoFix: too many arguments passed to fprintf().
jdp [Tue, 18 Nov 1997 05:56:03 +0000 (05:56 +0000)]
Fix: too many arguments passed to fprintf().

26 years agoFix: too many arguments for format in call to sprintf().
jdp [Tue, 18 Nov 1997 05:53:03 +0000 (05:53 +0000)]
Fix: too many arguments for format in call to sprintf().

26 years agoFix: too many arguments for format string in 4 calls to warnx().
jdp [Tue, 18 Nov 1997 05:45:19 +0000 (05:45 +0000)]
Fix: too many arguments for format string in 4 calls to warnx().

26 years agoFix erroneous format string.
jdp [Tue, 18 Nov 1997 05:34:45 +0000 (05:34 +0000)]
Fix erroneous format string.

26 years agoAdd cross-references to rfork(2).
jdp [Tue, 18 Nov 1997 03:59:30 +0000 (03:59 +0000)]
Add cross-references to rfork(2).

26 years agoAdd missing argument detected by "-Wformat". Make messages more
jdp [Tue, 18 Nov 1997 03:50:25 +0000 (03:50 +0000)]
Add missing argument detected by "-Wformat".  Make messages more
consistent.

26 years agoFix incorrect format string detected by "-Wformat".
jdp [Tue, 18 Nov 1997 03:41:51 +0000 (03:41 +0000)]
Fix incorrect format string detected by "-Wformat".

26 years agoAdd missing argument detected by "-Wformat".
jdp [Tue, 18 Nov 1997 03:37:45 +0000 (03:37 +0000)]
Add missing argument detected by "-Wformat".

26 years agoDon't generate new prototype files with the extra int retval[] arg at
peter [Tue, 18 Nov 1997 03:34:39 +0000 (03:34 +0000)]
Don't generate new prototype files with the extra int retval[] arg at
the end since pdk deleted them.

Forgotten by: phk

26 years agoAdd missing arguments detected by "-Wformat".
jdp [Tue, 18 Nov 1997 03:27:34 +0000 (03:27 +0000)]
Add missing arguments detected by "-Wformat".

26 years agoFix missing arguments detected by "-Wformat".
jdp [Tue, 18 Nov 1997 03:22:08 +0000 (03:22 +0000)]
Fix missing arguments detected by "-Wformat".

26 years agoFix two missing arguments detected by "-Wformat".
jdp [Tue, 18 Nov 1997 03:14:53 +0000 (03:14 +0000)]
Fix two missing arguments detected by "-Wformat".

26 years agoAdd Id string.
brian [Tue, 18 Nov 1997 00:22:07 +0000 (00:22 +0000)]
Add Id string.

26 years agoNotice that ppp has closed the connection properly.
brian [Tue, 18 Nov 1997 00:20:29 +0000 (00:20 +0000)]
Notice that ppp has closed the connection properly.
Remove the timeout hack to notice that ppp has closed the connection.
Remove the ``special case'' hacks for "quit" and "bye", as pppctl
now exits immediately when the connection is closed by ppp.
Suggest a secure "set server" line for connecting ppp & pppctl.
Tidy up and correct a few man page typos.

26 years agoAdd and use a DropClient() function for closing the diagnostic port.
brian [Tue, 18 Nov 1997 00:19:34 +0000 (00:19 +0000)]
Add and use a DropClient() function for closing the diagnostic port.
Call DropClient() from Cleanup() too.

26 years agoMake sure you do not get unexpected surprises whena remote file starts with '|'.
guido [Mon, 17 Nov 1997 19:29:16 +0000 (19:29 +0000)]
Make sure you do not get unexpected surprises whena remote file starts with '|'.
Reviewed by: Joerg Wunsch

26 years agoAdd `writeable'
wosch [Mon, 17 Nov 1997 17:59:44 +0000 (17:59 +0000)]
Add `writeable'

26 years agoTypo fix.
alex [Mon, 17 Nov 1997 13:57:40 +0000 (13:57 +0000)]
Typo fix.

PR: 5068
Submitted by: Studded@dal.net

26 years agofix Jonathan Mini's email address per his request
jmg [Mon, 17 Nov 1997 07:58:23 +0000 (07:58 +0000)]
fix Jonathan Mini's email address per his request

26 years agoAdded support for linux sound ioctls:
ahasty [Mon, 17 Nov 1997 04:00:32 +0000 (04:00 +0000)]
Added support for linux sound ioctls:
LINUX_SNDCTL_DSP_GETOPTR
LINUX_SNDCTL_DSP_GETIPTR
LINUX_SNDCTL_DSP_SETTRIGGER
LINUX_SNDCTL_DSP_GETCAPS

With this rev level the linux realaudio player 5 and xquake should work.

26 years agoDon't SetLabel() 'till we've done the SelectSystem(). This
brian [Mon, 17 Nov 1997 01:13:41 +0000 (01:13 +0000)]
Don't SetLabel() 'till we've done the SelectSystem().  This
avoids the situation where we specify label ``x'' on the command
line, and label ``x'' has a ``load y'' command embedded in it.
When the line comes up, we want to use ``x'' from ppp.linkup,
not ``y''.

26 years agoAdd id strings to tun.[ch].
brian [Mon, 17 Nov 1997 00:42:41 +0000 (00:42 +0000)]
Add id strings to tun.[ch].
Don't try to open ppp.secret if we're never going to use it.

26 years agoAbstract data read from and written to the tun device,
brian [Sun, 16 Nov 1997 22:15:11 +0000 (22:15 +0000)]
Abstract data read from and written to the tun device,
allowing for a possible header on the front of all packets.
In OpenBSD, there's a structure containing the address
family here.
If we're building under OpenBSD, set up the ``flags'' part
of struct tuninfo (not there under FreeBSD) so that we config
the interface as POINTOPOINT.
Prefix prototypes with ``extern'' in os.c for consistency.

These changes are cosmetic under FreeBSD, but allow ppp to
build & work under OpenBSD (bar the srandomdev() stuff,
the inclusing of <net/if_var.h> and some Makefile symantecs).

26 years agoDocument the new clear_tmp_enable option in the manpage.
steve [Sun, 16 Nov 1997 15:59:58 +0000 (15:59 +0000)]
Document the new clear_tmp_enable option in the manpage.

Prodded by: max

26 years agoNote in manpage how extraneous output in initialization scripts
steve [Sun, 16 Nov 1997 13:26:03 +0000 (13:26 +0000)]
Note in manpage how extraneous output in initialization scripts
can cause rdist to fail.

PR: bin/4954
Reviewed by: wollman
Submitted by: jhs

26 years agoResurrect a modified version of the /tmp clearing code from rev 1.119.
steve [Sun, 16 Nov 1997 12:52:17 +0000 (12:52 +0000)]
Resurrect a modified version of the /tmp clearing code from rev 1.119.
Enable this by setting clear_tmp_enable in rc.conf to YES.  Beware
there can be serious side-effects of enabling this, so use at you own
risk.

PR: misc/4982, misc/5054

26 years agoDevice # for Jonathan Mini's VESA support.
sos [Sun, 16 Nov 1997 10:02:13 +0000 (10:02 +0000)]
Device # for Jonathan Mini's VESA support.

26 years agoRestore diagnostic fix spammed after merging
ache [Sun, 16 Nov 1997 06:23:29 +0000 (06:23 +0000)]
Restore diagnostic fix spammed after merging

26 years agoThis commit was generated by cvs2svn to compensate for changes in r31187,
peter [Sun, 16 Nov 1997 05:55:52 +0000 (05:55 +0000)]
This commit was generated by cvs2svn to compensate for changes in r31187,
which included commits to RCS files with non-trunk default branches.

26 years agoImport kernel parts of ipfilter-3.2.1
peter [Sun, 16 Nov 1997 05:55:52 +0000 (05:55 +0000)]
Import kernel parts of ipfilter-3.2.1

26 years agoImport kernel parts of ipfilter-3.2.1
peter [Sun, 16 Nov 1997 05:55:52 +0000 (05:55 +0000)]
Import kernel parts of ipfilter-3.2.1

26 years agoReviewed by: Amancio Hasty
ahasty [Sun, 16 Nov 1997 04:52:29 +0000 (04:52 +0000)]
Reviewed by: Amancio Hasty
Submitted by: Amancio Hasty <hasty@star-gate.com>
Added yuv12 support for mpeg encoding and Randall Hopper's fixed for Temporal
Decimation

26 years agoThis commit was generated by cvs2svn to compensate for changes in r31183,
peter [Sun, 16 Nov 1997 04:52:19 +0000 (04:52 +0000)]
This commit was generated by cvs2svn to compensate for changes in r31183,
which included commits to RCS files with non-trunk default branches.

26 years agoImport ipfilter 3.2.1 (update from 3.1.8)
peter [Sun, 16 Nov 1997 04:52:19 +0000 (04:52 +0000)]
Import ipfilter 3.2.1 (update from 3.1.8)

26 years agoSome touchups courtesy of Philippe Charnier.
wpaul [Sun, 16 Nov 1997 03:49:12 +0000 (03:49 +0000)]
Some touchups courtesy of Philippe Charnier.

26 years agoClose PR #4867: improve _listmatch() to avoid returning false positives.
wpaul [Sun, 16 Nov 1997 03:02:39 +0000 (03:02 +0000)]
Close PR #4867: improve _listmatch() to avoid returning false positives.

PR: 4867

26 years agoMF22:
nate [Sat, 15 Nov 1997 14:20:31 +0000 (14:20 +0000)]
MF22:
(update_intr_masks might not need to be done in 3.X, but the new generic
 interrupt code is incomplete w/regard to support for the PCCARD code, so
 to avoid any potential problems use it.  It can't hurt).

- Correctly register pcic_imask with the system interrupt code.

- Call update_intr_masks() so that pcic_imask modifications that occur
  when card interrupts are registered get updated in the system
  interrupt code.

26 years agotarget(__target) -> target(${__target})
wosch [Sat, 15 Nov 1997 13:09:52 +0000 (13:09 +0000)]
target(__target) -> target(${__target})

PR: bin/4736
Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>

Index: bsd.subdir.mk
===================================================================
RCS file: /usr/cvs/src/share/mk/bsd.subdir.mk,v
retrieving revision 1.18
diff -u -r1.18 bsd.subdir.mk
--- bsd.subdir.mk 1997/06/21 15:40:34 1.18
+++ bsd.subdir.mk 1997/11/09 18:04:33
@@ -59,7 +59,7 @@

 .for __target in all checkdpadd clean cleandir depend lint \
   maninstall obj objlink
-.if !target(__target)
+.if !target(${__target})
 ${__target}: _SUBDIRUSE
 .endif
 .endfor

26 years agoInterpret AF_LINK sockaddrs correctly in show/delete route.
brian [Sat, 15 Nov 1997 02:15:56 +0000 (02:15 +0000)]
Interpret AF_LINK sockaddrs correctly in show/delete route.
Print out inteface names rather than numbers, and use the
same "find out the names" code in SetIfAddr().  This means
that the nasty ioctl(,SIOCGIFCONF,)/realloc loop is now
buried :-)

26 years agoSimplify map entries during user page wire and user page unwire operations in
tegge [Fri, 14 Nov 1997 23:42:10 +0000 (23:42 +0000)]
Simplify map entries during user page wire and user page unwire operations in
vm_map_user_pageable().

Check return value of vm_map_lock_upgrade() during a user page wire operation.

26 years agoDon't try to obtain an excluive lock on the vm map, since a deadlock might
tegge [Fri, 14 Nov 1997 22:57:46 +0000 (22:57 +0000)]
Don't try to obtain an excluive lock on the vm map, since a deadlock might
occur if the process owning the map is wiring pages.

26 years agouucplock is in section 3 not section 8 !
brian [Fri, 14 Nov 1997 20:07:39 +0000 (20:07 +0000)]
uucplock is in section 3 not section 8 !

26 years ago- Added entry for Accton 2216 ethernet card.
nate [Fri, 14 Nov 1997 18:48:59 +0000 (18:48 +0000)]
- Added entry for Accton 2216 ethernet card.

Submitted by:  Patrick Gardella <patrick@cre8tivegroup.com>

26 years agoUpdate the cftypes arrays according to rfc1700.
brian [Fri, 14 Nov 1997 15:39:15 +0000 (15:39 +0000)]
Update the cftypes arrays according to rfc1700.
Log IPCP reqests as IPCP.

26 years agoAllow blank lines in config entries (they aren't terminators).
brian [Fri, 14 Nov 1997 15:38:07 +0000 (15:38 +0000)]
Allow blank lines in config entries (they aren't terminators).

26 years agoLog the request from the remote side, in addition to it having happened.
sef [Fri, 14 Nov 1997 04:39:38 +0000 (04:39 +0000)]
Log the request from the remote side, in addition to it having happened.

Reviewed by: julian

26 years agoMF22: Revert part of -p handling.
jkh [Fri, 14 Nov 1997 01:56:04 +0000 (01:56 +0000)]
MF22: Revert part of -p handling.

26 years agoSwitch the effective uid to that of the user when writing mail files,
alex [Thu, 13 Nov 1997 23:14:34 +0000 (23:14 +0000)]
Switch the effective uid to that of the user when writing mail files,
allowing quotas to be enforced on mail spools.

PR:             1111
Submitted by:   Charles Henrich <henrich@crh.cl.msu.edu>

26 years agoSubmitted by: Archie cobbs (IPDIVERT author)
julian [Thu, 13 Nov 1997 22:57:57 +0000 (22:57 +0000)]
Submitted by:   Archie cobbs (IPDIVERT author)
close small security hole where an atacker could sendpackets with
IPDIVERT protocol, and select how it would be diverted thus bypassing
the ipfirewall.  Discovered by inspection rather than attack.
(you'd have to know how the firewall was configured (EXACTLY) to
make use of this but..)

26 years agoUse seteuid() instead of setreuid().
brian [Thu, 13 Nov 1997 17:31:52 +0000 (17:31 +0000)]
Use seteuid() instead of setreuid().
The setreuid() page says seteuid is better !

26 years agoDon't run if ppp.conf is writable.
brian [Thu, 13 Nov 1997 15:35:06 +0000 (15:35 +0000)]
Don't run if ppp.conf is writable.

26 years agoLog a warning when a -direct invocation is denied.
brian [Thu, 13 Nov 1997 14:44:06 +0000 (14:44 +0000)]
Log a warning when a -direct invocation is denied.

26 years agoFix command logging (broken with the "allow" command).
brian [Thu, 13 Nov 1997 14:43:20 +0000 (14:43 +0000)]
Fix command logging (broken with the "allow" command).

26 years agoNull commit: The last commit made some warning messages clearer.
brian [Thu, 13 Nov 1997 12:10:50 +0000 (12:10 +0000)]
Null commit:  The last commit made some warning messages clearer.

26 years agoDon't delete interface routes when we do an LcpDown.
brian [Thu, 13 Nov 1997 12:09:57 +0000 (12:09 +0000)]
Don't delete interface routes when we do an LcpDown.
They'll get deleted in Cleanup().

26 years agoThe prefix override code was bogus. The original idea was sound
jkh [Thu, 13 Nov 1997 11:49:23 +0000 (11:49 +0000)]
The prefix override code was bogus.  The original idea was sound
enough, but we're not using the pkg_create tool that way anymore
in the ports collection.

PR: 4894
Submitted by: Adrian Colley <aecolley@ois.ie>

26 years agoWhine when a depended package can't be found at all, vs being found
jkh [Thu, 13 Nov 1997 11:44:42 +0000 (11:44 +0000)]
Whine when a depended package can't be found at all, vs being found
but failing to load.
PR: 4959

26 years agoUse htonl() rather than htons().
brian [Thu, 13 Nov 1997 11:43:02 +0000 (11:43 +0000)]
Use htonl() rather than htons().

26 years agooops, fix left out semicolon in code I patched by hand.
julian [Thu, 13 Nov 1997 01:48:30 +0000 (01:48 +0000)]
oops, fix left out semicolon in code I patched by hand.

26 years agoSubmitted by: Archie@Whistle.com (Archie Cobbs)
julian [Thu, 13 Nov 1997 01:16:57 +0000 (01:16 +0000)]
Submitted by: Archie@Whistle.com (Archie Cobbs)

allow teh -a option to work with the  -d option
thus:
arp -d -a now flushes your arp cache.
also fix the -n option so that -an now works correctly.

26 years agoReviewed by: hackers@freebsd.org in general
julian [Thu, 13 Nov 1997 00:28:51 +0000 (00:28 +0000)]
Reviewed by: hackers@freebsd.org in general
Obtained from: Whistle Communications tree

Add an option to the way UFS works dependent on the SUID bit of directories
This changes makes things a whole lot simpler on systems running as
fileservers for PCs and MACS. to enable the new code you must
1/ enable option SUIDDIR on the kernel.
2/ mount the filesystem with option suiddir.
hopefully this makes it difficult enough for people to
do this accidentally.
see the new chmod(2) man page for detailed info.

26 years agoUnderstand networks in the filter rules. We don't
brian [Wed, 12 Nov 1997 21:04:21 +0000 (21:04 +0000)]
Understand networks in the filter rules.  We don't
insist on x.x.x.0/24 - x.x.x.x/24 is ok too.

26 years agoLog whether or not IP packets are bloked due to
brian [Wed, 12 Nov 1997 19:48:45 +0000 (19:48 +0000)]
Log whether or not IP packets are bloked due to
a filter.

26 years agoReturn correct value from "set loopback".
brian [Wed, 12 Nov 1997 18:47:30 +0000 (18:47 +0000)]
Return correct value from "set loopback".
Output "set ?filter deny host|port" rules correctly
with show ?filter.
Submitted by: Dave Bodenstab <imdave@mcs.net>

26 years agoDon't attempt to dial if "dial label" has specified
brian [Wed, 12 Nov 1997 16:34:51 +0000 (16:34 +0000)]
Don't attempt to dial if "dial label" has specified
a restricted label.

26 years agoPass a missing arg to LogPrintf().
brian [Wed, 12 Nov 1997 15:50:38 +0000 (15:50 +0000)]
Pass a missing arg to LogPrintf().

26 years agoSet return value for the correct process in ptrace().
tegge [Wed, 12 Nov 1997 12:28:12 +0000 (12:28 +0000)]
Set return value for the correct process in ptrace().