Commit Graph

6715 Commits

Author SHA1 Message Date
ache
592f5975cd Unbreak world by removing struct cmessage already define in sys/socket.h 2001-03-22 18:18:32 +00:00
jkh
ccf7f7ac40 Include docs with "default X dist" so XF86Config won't complain about it. 2001-03-22 05:36:54 +00:00
jkh
d8f80c7207 Don't install Kerberos stuff if user has selected minimal or "user"
modes.
2001-03-22 05:33:15 +00:00
alfred
1d6a205da2 Hopefully fix some of the bugs in passing credentials over UNIX domain sockets.
Make struct cmessage visible from socket.h (about 4 places were
defining it for themselves which wasn't good)

Make __rpc_get_local_uid() useable and give it prototype that's
visible.

Fix some issues with printing out usernames from rpcbind and keyserv.
2001-03-22 04:31:30 +00:00
rwatson
8da2bcdcda o Remove BINMODE=0550 -- no need to restrict execution rights as the
authorization check is on /dev/{,k}mem.
o Update man page to reflect requirement that gid kmem privileges must
  be held, not root.  (submitted by: peter)
2001-03-22 04:27:46 +00:00
rwatson
b8bc5d059a o Strip BINMODE from Makefile. Installing watch with 0500 provides no
added security benefit, as it doesn't provide extra privilege.
  Protection against inappropriate snooping is done by protecting
  /dev/snp* properly.
2001-03-22 04:10:51 +00:00
wpaul
7d8e700ef6 ypserv has intimate knowledge of the server transport handle which is
needed to make the asynchronous DNS lookup mechanism work. (It needs to
be able to get/set the transaction ID in the trasport handle so it can
deliver a delayed UDP response when a reply is received from a DNS
server.) With TI-TPC, the transport handle has changed slightly (what
used to be an int is now a size_t) so we need to account for this.
2001-03-21 23:47:18 +00:00
ache
333747c493 Use %c for expire/change dates 2001-03-21 13:46:09 +00:00
ache
f8af11cf6a Use nl_langinfo instead of %Ef 2001-03-21 13:41:03 +00:00
ru
bb34dbea67 Properly fix the world breakage.
Unpollute the Makefile.inc's abuse of SRCS variable, and move
the generation of header files into include/ subdirecory.

Reviewed by:	buildworld
2001-03-21 10:56:29 +00:00
keichii
2d3a8e62a7 Add SRCS= mk-mdmap.c and SRCS= wire-test.c to fix the world
breakage.  amd has its own SRCS= that prevents bsd.*.mk to function correctly.

Submitted by: bmah
Reviewed by: peter
2001-03-21 04:04:34 +00:00
ru
42350947e7 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
ru
e2a472a47a Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
ru
c6a3e399a4 mdoc(7) police: fixes to the previous revision:
- fixed bad formatting
- avoid using German
- removed hard sentence break
2001-03-20 10:57:25 +00:00
alfred
2df1e04d21 Included in the updated version of tirpc's sm_inter.x Sun added the
SM_NOTIFY procedure.

Remove our hand-coded one as it was causing world breakage for
worlds compiled with NOSHARED=yes because the static linker is a
bit less forgiving (or not as broken as) our dynamic linker.

Add $FreeBSD$ while I'm here.

Pointed out by: bde
2001-03-20 01:36:41 +00:00
roger
126fbc3b70 Allow LQR periods of 1 second and FSM retry periods of 1 second. This allows us
to run PPP over Radiocontact T-Link Radio Modems which run best when something
is transmitted at least every 1.5 seconds.

Tested by:	Jennifer Clark <jen@telepresence.strath.ac.uk>
Approved by:	Brian
2001-03-19 19:47:54 +00:00
alfred
13005eb45a Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

  Bring in required TLI library routines to support this.

  Since we don't support TLI we've essentially copied what NetBSD
  has done, adding a thin layer to emulate direct the TLI calls
  into BSD socket calls.

  This is mostly from Sun's tirpc release that was made in 1994,
  however some fixes were backported from the 1999 release (supposedly
  only made available after this porting effort was underway).

  The submitter has agreed to continue on and bring us up to the
  1999 release.

  Several key features are introduced with this update:
    Client calls are thread safe. (1999 code has server side thread
    safe)
    Updated, a more modern interface.

  Many userland updates were done to bring the code up to par with
  the recent RPC API.

  There is an update to the pthreads library, a function
  pthread_main_np() was added to emulate a function of Sun's threads
  library.

  While we're at it, bring in NetBSD's lockd, it's been far too
  long of a wait.

  New rpcbind(8) replaces portmap(8) (supporting communication over
  an authenticated Unix-domain socket, and by default only allowing
  set and unset requests over that channel). It's much more secure
  than the old portmapper.

  Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
  to support TI-RPC and to support IPV6.

  Umount(8) is also fixed to unmount pathnames longer than 80 chars,
  which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul
2001-03-19 12:50:13 +00:00
ru
906250d5ea Update obsolete history info. 2001-03-19 11:05:32 +00:00
rwatson
ba4951a969 o Rename "namespace" argument to "attrnamespace" as namespace is a C++
reserved word.

Submitted by:		jkh
Obtained from:	TrustedBSD Project
2001-03-19 06:00:41 +00:00
rwatson
57f60ab234 o Rename "namespace" argument to "attrnamespace" as namespace is a C++
reserved word.

Submitted by:	jkh
Obtained from:	TrustedBSD Project
2001-03-19 05:56:02 +00:00
jkh
41a274e4a2 properly document the loadConfig option 2001-03-18 05:38:11 +00:00
tmm
db4b07e0ff Correct the arguments to the extattrct()l call so that the enable and
disable commands work as documented.

Approved by:	rwatson
2001-03-17 15:59:59 +00:00
phk
f029c2324e Unrevert something which shouldn't have been reverted in the previous revert.
(Yes, I'm going to bed now to get some much needed sleep...)
2001-03-17 11:43:36 +00:00
phk
43893d1859 Backout my previous commit, it appearantly doesn't work for asynchronous
messages.
2001-03-17 08:59:31 +00:00
peter
55c62eab20 Stop cron from shouting in the syslog. Use setproctitle() instead, since
smashing argv[0] doesn't have the intended effect of changing the ps(1)
output these days.

PR:		25850
2001-03-17 00:21:54 +00:00
gad
3fecedd0b7 Fix a number of warnings that come up when compiling with BDECFLAGS. 2001-03-16 21:54:12 +00:00
phk
0f1180106c Add -ledit to ngctl.
Somebody submitted this long time ago, and it has been sitting in my
tree for months because I thought archie would pick it up.

Submitted by:	(sorry, lost track)
2001-03-16 19:35:07 +00:00
ru
20a25d49d2 mdoc(7) police: simplify bogus ``.Ql Fl'' constructs. 2001-03-16 14:11:41 +00:00
ru
b96f425cc7 mdoc(7) police: -mdoc still has a nine-arguments limitation. 2001-03-16 13:58:34 +00:00
alfred
456151f2ac s/0x7f000001/INADDR_LOOPBACK 2001-03-16 13:10:26 +00:00
jkh
091c5cff71 Very small cosmetic tweak - avoid starting an extra xterm for the fvwm
desktop case.
2001-03-16 03:32:13 +00:00
nyan
de44a59bfa Moved '#endif' to correct position. (previous commit broke pc98 support) 2001-03-15 12:33:52 +00:00
sobomax
fe9d5c831c When creating a package sort dependencies in such a way that if dependency
A depends on dependency B then dependency A will be in all cases listed
before B, so ``pkg_add -r'' will fetch/install packages in the correct order.

Previously dependencies were sorted just by its names, which is why
``pkg_add -r'' never actually worked properly.

To be usefull, hovewer, this fix requires that all packages have been
rebuilt, so it will take some time until users would be able to feel
posititive improvements. For the same reasons it is desirable to propagate
these changes to the 4-stable package building cluster *before* 4.3 ports
freeze, so packages for 4.3-RELEASE would be properly prepared.

Prompted by:			kris
Insanely appreciated by:	obrien
Silently approved by:		jkh, -ports
2001-03-15 10:47:00 +00:00
rwatson
9685c45e76 o Update getextattr and setextattr utilities to take into account the
revised EA interface with explicit namespacing.  Link against libutil
  to provide string/constant conversion for namespaces.  Document
  revised interface.

Obtained from:	TrustedBSD Project
2001-03-15 03:09:48 +00:00
rwatson
f3b17d1874 o Update extattrctl to take into account the updated EA interface with
explicit namespaces.  Modify it to use libutil for string/constant
  namespace conversions.  Update the documentation to take into account
  the new interface.

Obtained from:	TrustedBSD Project
2001-03-15 03:04:35 +00:00
sobomax
dbb010310b When matching installed packages against glob keep track of which patterns
actually triggered a match and which did not, and add patterns that didn't
into resulting list, so caller will have a chance to notify user that package
isn't installed. This should fix current, POLA-breaking behaviour when user
doesn't receive a notification if he specifies several packages, some of which
aren't installed.
2001-03-14 19:46:43 +00:00
charnier
df4ad8b893 Typo. Move FreeBSD Id out of copyright section. 2001-03-14 19:39:29 +00:00
murray
b4be142d38 Document the HTTP proxy install method.
PR:		21451
2001-03-14 11:08:28 +00:00
murray
8d68100a16 Avoid sending a pointless `CWD .' command which confuses some
non-standard ftp servers.

PR:		21856
2001-03-14 10:05:48 +00:00
jkh
14394b94a9 Argh! Why can't I stop breaking the fvwm desktop option? *I* use
fvwm as my desktop, yet I've broken this damn thing 3 times in a row
now while all the desktops I don't actually use continue to work fine! :)
2001-03-14 09:39:54 +00:00
jkh
af4e1246dd OK, *now* we only sort the file once (red face). 2001-03-14 03:26:40 +00:00
dd
acf093cb10 Document the lock and unlock commands. This fixes a segmentation fault.
PR:		25187
Approved by:	nik
2001-03-14 03:24:30 +00:00
dd
2da390d77c Document the lock and unlock commands.
PR:		25187
Approved by:	nik
2001-03-14 03:22:28 +00:00
jkh
d8947ffa2f Document (with warnings) the otherwise undocumented `F' command. 2001-03-13 06:52:07 +00:00
jkh
358c19dfa5 Be a better rc.conf citizen and create an initial file which:
1. Has a time-stamp to show when it was created

2. Sorts and uniq's the output to only contain single instances of a
   given setting. This doesn't mean you still can't have settings which
   override one another, that's still possible since it's too much
   trouble to do the redundancy checking here.

Requested by: 	lots of people
2001-03-13 06:42:12 +00:00
jkh
2d7522f619 Properly deal with the fvwm desktop - this should restore that option
to functionality.
2001-03-12 22:43:27 +00:00
jkh
75d1f2176e Allow a script-using to disable the emergency holographic shell as
a security measure.

Requested by:	"David E. Cross" <crossd@enterprise.cs.rpi.edu>
2001-03-12 21:26:06 +00:00
brian
72fecb5e56 Deal with ENOENT properly on non-devfs machines
Broken in revision 1.109
2001-03-12 12:53:53 +00:00
jkh
3ea436251d Really finish softupdate setting from the label editor and fix
a few cosmetic problems:

o Allow it to work with scripts (see man page or install.cfg file).
o Preserve old softupdates flag across newfs toggles
o Clean up partitioned/labelled flag handling
o Don't ask for MBR choice again if you've already written it out.
o Actually document the new features.
2001-03-12 10:18:54 +00:00
ache
4364a2703f Document newly added "paste" keyword 2001-03-12 07:05:44 +00:00