Commit Graph

25612 Commits

Author SHA1 Message Date
alex
8683d5257e Typo fix.
PR:		5068
Submitted by:	Studded@dal.net
1997-11-17 13:57:40 +00:00
jmg
d892def2d0 fix Jonathan Mini's email address per his request 1997-11-17 07:58:23 +00:00
ahasty
1938134234 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.
1997-11-17 04:00:32 +00:00
brian
b65c2a6c14 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''.
1997-11-17 01:13:41 +00:00
brian
674fc92d54 Add id strings to tun.[ch].
Don't try to open ppp.secret if we're never going to use it.
1997-11-17 00:42:41 +00:00
brian
5696a07f36 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).
1997-11-16 22:15:11 +00:00
steve
0f428e70f1 Document the new clear_tmp_enable option in the manpage.
Prodded by:	max
1997-11-16 15:59:58 +00:00
steve
c6944bfd2f Note in manpage how extraneous output in initialization scripts
can cause rdist to fail.

PR:		bin/4954
Reviewed by:	wollman
Submitted by:	jhs
1997-11-16 13:26:03 +00:00
steve
2c2d3b0330 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
1997-11-16 12:52:17 +00:00
sos
d2f586c713 Device # for Jonathan Mini's VESA support. 1997-11-16 10:02:13 +00:00
ache
b00e10eac7 Restore diagnostic fix spammed after merging 1997-11-16 06:23:29 +00:00
peter
e636aaead9 This commit was generated by cvs2svn to compensate for changes in r31187,
which included commits to RCS files with non-trunk default branches.
1997-11-16 05:55:52 +00:00
peter
4b965aa581 Import kernel parts of ipfilter-3.2.1 1997-11-16 05:55:52 +00:00
peter
7a56344e6a Import kernel parts of ipfilter-3.2.1 1997-11-16 05:55:52 +00:00
ahasty
5493f20cc0 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
1997-11-16 04:52:29 +00:00
peter
e30be53f51 This commit was generated by cvs2svn to compensate for changes in r31183,
which included commits to RCS files with non-trunk default branches.
1997-11-16 04:52:19 +00:00
peter
594e73c310 Import ipfilter 3.2.1 (update from 3.1.8) 1997-11-16 04:52:19 +00:00
wpaul
a8cf9c15e2 Some touchups courtesy of Philippe Charnier. 1997-11-16 03:49:12 +00:00
wpaul
5a4ed48dff Close PR #4867: improve _listmatch() to avoid returning false positives.
PR: 4867
1997-11-16 03:02:39 +00:00
nate
0bdadfcd1b 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.
1997-11-15 14:20:31 +00:00
wosch
e785b9903f 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
1997-11-15 13:09:52 +00:00
brian
903fd99091 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 :-)
1997-11-15 02:15:56 +00:00
tegge
08d3982b7d 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.
1997-11-14 23:42:10 +00:00
tegge
5ba8a227e1 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.
1997-11-14 22:57:46 +00:00
brian
e51ee7cdf9 uucplock is in section 3 not section 8 ! 1997-11-14 20:07:39 +00:00
nate
a61bd2f3eb - Added entry for Accton 2216 ethernet card.
Submitted by:	 Patrick Gardella <patrick@cre8tivegroup.com>
1997-11-14 18:48:59 +00:00
brian
083732af9e Update the cftypes arrays according to rfc1700.
Log IPCP reqests as IPCP.
1997-11-14 15:39:15 +00:00
brian
27f25c18e3 Allow blank lines in config entries (they aren't terminators). 1997-11-14 15:38:07 +00:00
sef
8f194113d3 Log the request from the remote side, in addition to it having happened.
Reviewed by:	julian
1997-11-14 04:39:38 +00:00
jkh
4709213773 MF22: Revert part of -p handling. 1997-11-14 01:56:04 +00:00
alex
3dc202d85a 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>
1997-11-13 23:14:34 +00:00
julian
83b3321520 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..)
1997-11-13 22:57:57 +00:00
brian
ac24f713f0 Use seteuid() instead of setreuid().
The setreuid() page says seteuid is better !
1997-11-13 17:31:52 +00:00
brian
4acd7a70da Don't run if ppp.conf is writable. 1997-11-13 15:35:06 +00:00
brian
8c141b2131 Log a warning when a -direct invocation is denied. 1997-11-13 14:44:06 +00:00
brian
1b096d24d9 Fix command logging (broken with the "allow" command). 1997-11-13 14:43:20 +00:00
brian
f38c8654e5 Null commit: The last commit made some warning messages clearer. 1997-11-13 12:10:50 +00:00
brian
99989a60d8 Don't delete interface routes when we do an LcpDown.
They'll get deleted in Cleanup().
1997-11-13 12:09:57 +00:00
jkh
e3252cb624 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>
1997-11-13 11:49:23 +00:00
jkh
bee54c50bb Whine when a depended package can't be found at all, vs being found
but failing to load.
PR:		4959
1997-11-13 11:44:42 +00:00
brian
bfb6fd490e Use htonl() rather than htons(). 1997-11-13 11:43:02 +00:00
julian
4cc5f1d2de oops, fix left out semicolon in code I patched by hand. 1997-11-13 01:48:30 +00:00
julian
64608563e2 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.
1997-11-13 01:16:57 +00:00
julian
c931d11d3f 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.
1997-11-13 00:28:51 +00:00
brian
68d89b19d4 Understand networks in the filter rules. We don't
insist on x.x.x.0/24 - x.x.x.x/24 is ok too.
1997-11-12 21:04:21 +00:00
brian
1a846301b5 Log whether or not IP packets are bloked due to
a filter.
1997-11-12 19:48:45 +00:00
brian
d99cc94f13 Return correct value from "set loopback".
Output "set ?filter deny host|port" rules correctly
with show ?filter.
Submitted by:	Dave Bodenstab <imdave@mcs.net>
1997-11-12 18:47:30 +00:00
brian
4feb2f9c75 Don't attempt to dial if "dial label" has specified
a restricted label.
1997-11-12 16:34:51 +00:00
brian
75ca1ecd86 Pass a missing arg to LogPrintf(). 1997-11-12 15:50:38 +00:00
tegge
3e11b7299f Set return value for the correct process in ptrace(). 1997-11-12 12:28:12 +00:00