Commit Graph

10562 Commits

Author SHA1 Message Date
cvs2svn
a2678d3c8a This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-06-22 22:33:22 +00:00
rodrigc
aee6f621ad MFC: 1.87
For network filesystems (NFS, samba, etc.), do not pass "export" nmount()
  parameter to try to delete an NFS export.  It won't work, and will log
  a spurious warning to syslog.

  Tested by:      Arno J. Klaassen <arno at heho dot snv dot jussieu dot fr>
2006-06-15 04:52:52 +00:00
gordon
9ba2791c5e MFC auto updating of files not modified by the user. 2006-06-10 21:42:49 +00:00
simon
27f2c8cdfe MFC:
- Add support for filtering the the list of providers by a regular
    expression, which makes it possible to only see interesting
    providers.  "f" is used inside gstat to set a filter, "F" is used to
    remove current filter.
  - Do not print some uninteresting values in the gstat title line.
  - Do not print past the end of the screen.
  - Read multiple keystrokes per "wait" when gstat is running.
  - Remove a redundant != check, right after check of NULL against the
    same variable ("gid").
  - Use sysexits.h.
  - Do not link against libkvm and libsbuf, they are not actually used.
  - Fix a few style(9) issues where I had to touch nearby code anyway.

      src/usr.sbin/gstat/Makefile: rev 1.6 -> 1.7
      src/usr.sbin/gstat/gstat.8: rev 1.7 -> 1.8
      src/usr.sbin/gstat/gstat.c: rev 1.12 -> 1.13
2006-06-10 15:40:10 +00:00
delphij
2db0e80596 MFC: Add -u and -U which functions like the jail(8) that allow
commands to be executed under a different credential.

PR:		bin/95777
Submitted by:	clsung
2006-06-08 17:29:05 +00:00
markus
1302798964 MFV rev. 1.9:
- Document the new Read_Node_List command, autodetection of HCI nodes and
    that the '-n' parameter is now optional
  - Grammar fixes

Approved by:	emax (mentor)
2006-06-07 22:54:02 +00:00
markus
73f892b2f1 MFC:
- Add HCI node autodetection. As a consequence of this, make the '-n'
    parameter optional.
  - Add Read_Node_List command which prints a list of available HCI nodes,
    their Netgraph IDs and connected hooks

Revisions:
	hccontrol.h	rev. 1.6
	hccontrol.c	rev. 1.4 + 1.5
	node.c		rev. 1.4

Approved by:	emax (mentor)
2006-06-07 22:53:56 +00:00
pav
4beb7814fe - MFC 1.20: Fix markup 2006-06-05 08:14:48 +00:00
rodrigc
6aba23513f MFC: 1.19
Move call to ignore SIGPIPE signals before calling fork(),
so that both parent and child processes ignore this signal.

PR:             bin/97768
Submitted by:   Gea-Suan Lin <gslin at csie dot nctu dot edu dot tw>
2006-06-02 01:20:58 +00:00
cperciva
280f83404d Enable inadvertantly disabled "securenet" access controls in ypserv. [1]
Correct a bug in the handling of backslash characters in smbfs which can
allow an attacker to escape from a chroot(2). [2]

Security:	FreeBSD-SA-06:15.ypserv [1]
Security:	FreeBSD-SA-06:16.smbfs [2]
2006-05-31 22:32:22 +00:00
ceri
9e5278e648 MFC crunchgen.1 revisions 1.29 - 1.30 and crunchgen.c revision 1.36:
Commands like gmirror, graid3, ... and others which use dlopen() to load
classes from say, /lib/geom, cannot be statically linked completely.
Moreover, those shared objects may require other shared objects (i.e.
for geom, libraries like -lmd, -lcrypto).

The libs_so extension to crunchgen fixes this by allowing some libraries
to be linked in dynamically.  This requires that a copy of rtld and the
shared libraries be made available to the crunched binary, and so is not
suitable for all environments.  Crunchgen configurations which do not
use the 'libs_so' keyword are unaffected and produce identical binaries
with and without this commit.

Approved by:            jhb
In collaboration with:  Adrian Steinmann <ast at marabu dot ch>
2006-05-31 19:11:59 +00:00
rodrigc
94cdd8aaa9 Convert mountd to use nmount().
Remove hardcoded dependencies on ufs, cd9660, msdosfs, and ntfs.

MFC: mountd.c 1.84, 1.85, 1.86
         - exclude changes to pass in errmsg mount option, because errmsg
           is not in RELENG_6's vfs_mount.c as a default mount option.
     Makefile 1.17

PR:		bin/97642
2006-05-29 03:04:49 +00:00
simon
9ddbde1d33 Revert MFC of 1.73, since mounting devfs without a devfs ruleset
inside a jail is a very bad idea security wise.
2006-05-28 09:49:42 +00:00
cperciva
d36c867f6c MFC rev 1.244:
If the user asks for "kernel sources" to be installed, extract the
  SRC_BASE package (src/[A-Z]*) as well as SRC_SYS (src/sys/*).  This
  allows users who only install the kernel source code to use the
  modern "make buildkernel" approach.
2006-05-27 06:52:13 +00:00
cperciva
f2efa205b9 MFC usr.sbin/portsnap/phttpget/phttpget.c rev 1.10,
usr.sbin/portsnap/portsnap/portsnap.8 revs 1.8-1.9,
    usr.sbin/portsnap/portsnap/portsnap.sh revs 1.16-1.24:

* Allow "HTTP_PROXY" to be (mis)spelled "http_proxy".
* Add "-l descfile" option to portsnap, to merge local describes
  output when building INDEX files.
* If a port directory is a symlink, remove the symlink when
  extracting a new version of the port.
* Make portsnap's automatic mirror selection interoperate better
  with HTTP proxies.
* Switch mirrors if the first mirror(s) selected fails.
* During mirror selection, parse the output of host(1) from
  BIND 8 as well as BIND 9.
* NO_BIND -> WITHOUT_BIND in a comment.

PR:		ports/93901, bin/96288
Sponsored by:   FreeBSD security development fundraiser
2006-05-26 23:14:16 +00:00
matteo
2feee4a415 MFC: Add the -s option to set jail's securelevel.
This is useful for jails run with non-root privileges.

PR:	bin/80242
2006-05-26 10:30:59 +00:00
matteo
1a9bdb2f4a Merge 1.71 and 1.73 2006-05-26 10:16:23 +00:00
pav
bcfd910418 - MFC ntp-4.2.0 man pages 2006-05-25 20:22:54 +00:00
cvs2svn
47d76a2b91 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-05-25 04:01:05 +00:00
maxim
8aa605d637 MFC rev. 1.28 iostat.8 and revs. 1.29 - 1.31 iostat.c: implement
Solaris-like -x and -z flags: show extended disk statistics, omit
lines for devices with no activity.  Style and re-register locals.
2006-05-17 19:03:33 +00:00
maxim
a3b08a3cbb MFC revs. 1.74 - 1.76: document security.jail.jailed and
security.jail.list sysctls.
2006-05-17 11:35:31 +00:00
maxim
5e2473c613 MFC rev. 1.22: do not mangle current session user login name
with jail -u|-U.
2006-05-16 06:21:46 +00:00
emax
e3348d1704 MFC:
Properly convert L2CAP PSM values in sockaddr_l2cap to LE16 byte order.
Fix formatting. Add missing break;

Submitted by:	Iain Hibbert
2006-05-15 17:04:28 +00:00
emax
065047bfe4 MFC:
Teach bthidd(8) to reload its config when SIGHUP is received.
Properly convert L2CAP PSM values in sockaddr_l2cap to LE16 byte order.
Properly map mouse buttons.
Fix typo.

PR:		bin/94577
Submitted by:	Iain Hibbert, Krzysztof Jedruczyk
2006-05-15 16:52:15 +00:00
krion
c2aa29b013 MFC: lib.h: 1.58
date: 2006/04/17 11:15:29;  author: krion;  state: Exp;  lines: +5 -3
  Add INDEX-7 and remove trailing spaces.
2006-05-14 07:06:37 +00:00
krion
82bf3bef5d MFC: main.c: 1.38
date: 2006/04/17 10:58:45;  author: krion;  state: Exp;  lines: +6 -1
  Use bzip2(1) by default to compress package tarball on
  __FreeBSD_version >= 500039.

  Submitted by:   Alex Lyashkov <umka@sevcity.net>
2006-05-14 07:01:47 +00:00
krion
feaf609fc2 MFC: sign.c: 1.5, x509.c: 1.5
date: 2006/03/15 01:19:23;  author: krion;  state: Exp;  lines: +13 -10
  Close descriptor in retrieve_x509_marker function.

  PR:             bin/71594
  Submitted by:   Dan Lukes <dan@obluda.cz>
2006-05-14 06:57:58 +00:00
krion
d433ebce18 MFC: add.h: 1.14, main.c: 1.67, perform.c: 1.80, pkg_add.1: 1.71
date: 2006/03/09 14:49:19;  author: phk;  state: Exp;  lines: +6 -1
  Add -F option to not fail on already installed packages.

  Submitted by:   Eugene Grosbein <eugen@grosbein.pp.ru>
2006-05-14 06:52:24 +00:00
delphij
ff89495d57 MFC Makefile,v 1.12 and btxld.c,v 1.10:
+ Include netinet/in.h for ntohl()
 * Since the return value was tested separately, cast the values to
   size_t in order to shut up compiler warnings.
 + Raise WARNS= level to 6

PR:		bin/71666
Submitted by:	Dan Lukes <dan at obluda.cz>
2006-05-12 02:28:20 +00:00
keramida
1f06a478ec MFC 1.28:
# Note that when -d flag is used, mountd(8) will not detach from the
# controlling terminal.
#
# PR:             docs/96660
# Submitted by:   Jeff Ito <ijk@speakeasy.net>
# MFC after:      1 week
2006-05-10 19:45:56 +00:00
scottl
fa872b0d99 Set pointer to 6.1-STABLE.
Approved by: re
2006-05-06 07:44:56 +00:00
ceri
bd6ba582ca MFC r1.87:
Fix binary upgrades by accounting for the schg flag on /var/empty.

PR:		96711, 96780
Submitted by:	Nobuyuki Koganemaru, Martin Jackson
Approved by:	re (scottl)
2006-05-05 18:52:21 +00:00
dwmalone
6978b17358 MFC: v1.45, v1.44
Make port 37 time work on machines with 64 bit longs. Also merge a couple
of updates to comments.

Approved by:    re
2006-05-02 18:32:08 +00:00
jkim
80e64fe036 MFC: 1.418
Fix minimal installation check.  'X' was not displayed when it was selected.

Approved by:	re (scottl)
2006-04-14 20:51:17 +00:00
sam
430ed388b5 MFC 1.3: adapt PacketGetAdapterNames to 0.4.8 calling convention
Approved by:	re (scottl)
2006-04-12 17:21:08 +00:00
scottl
35fc225482 Teach sysinstall about MFI.
Approved by: re
2006-04-04 04:39:35 +00:00
hrs
fd99098516 MFC: Fix version number when the feature was added.
Spotted by:	ceri
Approved by:	re (implicitly)
2006-04-02 08:07:14 +00:00
glebius
0a0cd568a9 Sync bsnmpd with HEAD.
Approved by:	re (scottl)
Approved by:	harti
2006-03-31 12:44:51 +00:00
suz
021e8ed5df MFC Rev 1.15
fixed a potential memory leak

Approved by: re(hrs)
2006-03-29 21:06:50 +00:00
suz
81852854cc MFC Rev 1.27 (avoid heap overrun)
Approved by: re(kensmith)
2006-03-24 14:53:53 +00:00
sam
f78844d8b5 MFC: update for v0.4.8 import of wpa_supplicant and hostapd
Approved by:	re (hrs)
2006-03-24 01:43:18 +00:00
hrs
0f63b4d607 MFC:
Fix version number when the feature was added.

Submitted by:	Yoshihiko Sarumaru (mistral at imasy dot or dot jp)
PR:		docs/93801 and docs/93803
Approved by:	re (kensmith)
2006-03-23 07:41:33 +00:00
thompsa
f7c3e9e781 MFC r1.9, r1.10
- If a keymap file is not found for the selected country then default to the
   more common USA ISO rather than index 0 (Belgian).

 - Use jp.pc98 as default keymap for pc98

Approved by:	re (murray)
2006-03-17 21:55:31 +00:00
delphij
cf9a299a52 MFC: Add snapinfo.
Discussed with:	marks
Approved by:	re (scottl)
2006-03-17 05:08:16 +00:00
matteo
dcaaec9f0a MFC:
Don't build IPv6 support if NO_INET6 was defined

PR:	kern/73865
Approved by:	re (scottl)
2006-03-15 07:44:28 +00:00
sam
221da214ac MFC sysinstall and make release mods to auto-select up/smp kernel
Reviewed by:	ru
Approved by:	re (scottl)
2006-03-11 18:52:47 +00:00
ume
cb5a21a2d4 MFC 1.15: Remove trailing dot from the servername in the serverlist to
be able to use portsnap from behind a http proxy.  Some HTTP proxy
don't like trailing dot in the servername.

Approved by:	re (hrs)
2006-03-09 17:10:33 +00:00
ume
d1fb7619c6 MFC 1.9: Correct handling of HTTP_PROXY_AUTH. A password may have `:'.
Approved by:	 re (hrs)
2006-03-09 17:08:41 +00:00
cvs2svn
9cb23632cc This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-03-08 18:03:10 +00:00
jhb
8f78599b3f MFC: Autogenerate a menu containing a list of countries supported by
syscons and pop it up during installs.  In addition, use the specified
country as a hint for the keymap to use and if the non-default country is
chosen during the install startup, pop up the keymap menu before entering
the main sysinstall menu.

Approved by:	re (scottl)
2006-03-07 16:06:41 +00:00