Commit Graph

10417 Commits

Author SHA1 Message Date
cognet
053034ba29 MFC rev 1.146 (and 1.147)
revision 1.146
date: 2005/09/28 16:05:13;  author: cognet;  state: Exp;  lines: +7 -1
Use SO_REUSEADDR on the socket, to make the use of syslogd in jails easier.

Submitted by:   Jeremie Le Hen <jeremie le-hen org>
Approved by:	re
2005-10-04 12:50:11 +00:00
grog
b4701f3c9a MFC:
Initialize uninitialized variables.
  Remove one possible way of shooting yourself in the foot.

Requested by:   Dan Lukes <dan@obluda.cz>
Approved by:	RE (kensmith@)

And now for the scripts which refuse the line above:

Approved by: re
2005-10-03 23:45:01 +00:00
cperciva
571f9d1571 MFC revision 1.11: Fix a bug introduced in revision 1.9 which causes
chkgrp to coredump on certain corrupt files.

Approved by:	re (scottl)
2005-10-03 21:39:21 +00:00
jkoshy
9944742e75 MFC r1.5:
The 'intr_bufferfull' driver statistic actually counts the number
  of times sampling was stopped due to a space shortage; change its
  description in the output of `pmcstat -s` to match reality.

Approved by:	re (scottl)
2005-10-01 15:48:02 +00:00
krion
1f7ce2bb5e MFC: 1.20
date: 2005/09/24 21:41:47;  author: krion;  state: Exp;  lines: +1 -1
  Do not bitch about bsdpan modules not having origin.

  Based on PR:    bin/82269
  Submitted by:   Steven Hartland <killing at multiplay dot co dot uk>
  MFC after:      3 days

Approved by:	re (kensmith)
2005-09-27 13:39:06 +00:00
krion
79857f671c MFC: 1.39
date: 2005/09/24 19:41:56;  author: krion;  state: Exp;  lines: +1 -1
    Remove '\n' since it's redundant in case if file doesn't exist while
    running 'pkg_info -g'

    Based on PR:    bin/42609
    Submitted by:   Jeff King <peff-freebsd at peff dot net>
    MFC after:      3 days

Approved by:	re (kensmith)
2005-09-27 13:37:53 +00:00
keramida
754be4de67 MFC: a lot of manpage fixes from HEAD.
Approved by:	re (hrs)
2005-09-24 01:59:40 +00:00
cognet
56af4acac5 MFC rev 1.32, 1.33, 1.34:
revision 1.32
date: 2005/09/18 19:24:05;  author: cognet;  state: Exp;  lines: +8 -2
Open the tty device and pass the fd for SNPSTTY.

revision 1.33
date: 2005/09/19 13:48:45;  author: ru;  state: Exp;  lines: +3 -3
Restore the ability to detach from a tty via SIOCSTTY and document
recent changes in a manpage.

revision 1.34
date: 2005/09/21 14:30:14;  author: cognet;  state: Exp;  lines: +8 -8
Close the tty file descriptor once we're done with it.
Use O_NONBLOCK when opening the tty device.

Approved by:	re
2005-09-23 23:24:55 +00:00
cperciva
06a2ac2c20 MFC revision 1.3:
Log:
  Handle circular dependencies properly (via errx(3)) rather than dumping
  core.  This bug was made visible by a recent change to the audio/timidity++
  port, which now has itself as a run dependency.

Approved by:	re (scottl)
2005-09-17 15:43:40 +00:00
jkoshy
e3724c7825 MFC { r1.4, r1.5 "pmcstat_log.c" }
- Determine where the runtime loader got mapped to when a dynamically
   linked process was exec()'ed, and map samples in that address range
   into the appropriate buckets in the runtime loader's profile.

 - Fix a bug that caused generated gmon.out profiles to be out of
   whack.  Use saturating arithmetic when incrementing a bucket.

 - Improve a few comments.

Approved by:	re (scottl)
2005-09-17 13:04:10 +00:00
jkoshy
ca6608f391 MFC r1.9: Improve an error message.
Approved by:	re (kensmith)
2005-09-13 15:23:26 +00:00
emax
6778832488 MFC to RELENG_6
Fix typo in usage

Submitted by:	Jonatan B <onatan at gmail dot com>
Approved by:	re (scottl)
2005-09-12 16:09:23 +00:00
njl
3bcc2cbd34 MFC: ignore non-useful cpufreq levels and change the powerd algorithm to
one that saves more power with possibly more performance loss.  This is
kern_cpu.c:1.20,1.21 and powerd.c:1.9

Approved by:	re (scottl)
2005-09-06 18:01:44 +00:00
sam
603100a109 MFC 1.8: correct alignment of addresses passed to ether_ntoa to
fix segfaults on amd64

Approved by:	re (scottl)
2005-09-03 17:45:54 +00:00
brian
6a7fa378a5 MFC: If we fail in chown(2), try to just change the group and continue on to
change the permissions.  Failures are still recorded.

Approved by:	re (scottl)
Sponsored by:	Sophos/ActiveState
2005-09-03 11:04:25 +00:00
philip
4237f81729 MFC: r1.6 - Fix unhandled malloc errors.
Approved by:	re (kensmith)
2005-09-01 13:52:12 +00:00
murray
bef72ac0a1 MFC: r1.240 - update number and size of ports distribution.
Approved by:	re (scottl)
2005-08-30 20:01:32 +00:00
rodrigc
1273bd9a5e MFC rev 1.411:
- Remove NTP servers which do not resolve in DNS.
 - Use pool.ntp.org servers where possible, thanks to
   Chuck Swiger <cswiger at mac dot com> .
 - Update list of Swedish NTP servers, thanks to
   Fredrik Lindberg <fli+freebsd-current at shapeshifter dot se> .

PR:		bin/75479
Approved by:	re (scottl)
2005-08-25 00:42:26 +00:00
gshapiro
d9a1e9f7c0 MFC: Make links for hoststat(8) and purgestat(8) man pages.
Revision  Changes    Path
     1.52      +2 -0      src/usr.sbin/sendmail/Makefile

Approved by:	re (hrs)
2005-08-20 01:39:08 +00:00
nyan
ebca1aed62 MFC: Attempt g_ctl for metadata modification.
Approved by:	re (kensmith)
2005-08-19 12:43:55 +00:00
pjd
c9e4dff1ad MFC: usr.sbin/jls/jls.c 1.4,1.5
Not sure why, but SYSCTL_OUT() can sometimes keep returning ENOMEM
in sysctl_jail_list(). Because of this, jls(8) could enter into
an endless loop. The strange thing is, that we can call jls(8) while
the other one is in loop and it will succeed - SYSCTL_OUT() will
not return ENOMEM there.

Approved by:	re (kensmith)
2005-08-19 11:09:11 +00:00
keramida
0467614a12 MFC spelling fixes of several manpages.
Approved by:	re (kensmith)

The merged revisions/files are:

Revision  Path
1.10      src/lib/libarchive/archive_entry.3
1.21      src/lib/libarchive/archive_read.3
1.8       src/lib/libautofs/libautofs.3
1.10      src/lib/libc/net/inet6_rth_space.3
1.8       src/lib/libc/posix1e/acl_get_entry.3
1.15      src/lib/libc/posix1e/mac.3
1.7       src/lib/libc/posix1e/mac_prepare.3
1.37      src/lib/libc/stdtime/strftime.3
1.16      src/lib/libc/sys/kse.2
1.8       src/lib/libc/sys/uuidgen.2
1.4       src/share/man/man4/man4.i386/acpi_ibm.4
1.6       src/share/man/man4/man4.i386/acpi_panasonic.4
1.40      src/share/man/man4/man4.i386/ep.4
1.6       src/share/man/man4/man4.i386/pbio.4
1.5       src/share/man/man4/man4.i386/snc.4
1.2       src/share/man/man4/man4.sparc64/openprom.4
1.4       src/share/man/man4/man4.sparc64/snd_audiocs.4
1.11      src/share/man/man4/witness.4
1.3       src/share/man/man5/devfs.conf.5
1.51      src/share/man/man9/ifnet.9
1.7       src/share/man/man9/printf.9
1.12      src/usr.bin/file2c/file2c.1
1.27      src/usr.bin/indent/indent.1
1.17      src/usr.bin/lockf/lockf.1
1.90      src/usr.bin/make/make.1
1.45      src/usr.bin/systat/systat.1
1.19      src/usr.bin/truss/truss.1
1.33      src/usr.bin/xinstall/install.1
1.11      src/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8
1.4       src/usr.sbin/bluetooth/sdpd/sdpd.8
1.9       src/usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.3
1.36      src/usr.sbin/i4b/isdnd/isdnd.rc.5
1.53      src/usr.sbin/mtree/mtree.8
1.8       src/usr.sbin/ndiscvt/ndiscvt.8
1.13      src/usr.sbin/ntp/doc/ntpdc.8
1.26      src/usr.sbin/pppd/pppd.8
1.40      src/usr.sbin/syslogd/syslog.conf.5
1.5       src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5
2005-08-18 15:01:27 +00:00
cperciva
6a29a52c26 MFC revision 1.149: Change the default partition sizes to provide more
space in /, /var, and /tmp, and if the device is large enough, provide
extra space to /var sufficient to store a crash dump.

Approved by:	re (kensmith)
2005-08-17 13:53:11 +00:00
kensmith
704cef6b45 MFC v1.125:
>   Log:
>   The /stand directory now disappears out from under sysinstall while
>   it is running during installations.  The vsystem() function does get
>   used after this happens (e.g. if you manually configure the network
>   interface and ask it to enable the interface) so it needs to be a
>   little smarter about whether it uses /stand/sh or /bin/sh.

Approved by:	re (hrs)
2005-08-17 13:32:29 +00:00
phk
a28f269dc8 MFC: use g_ctl for modifying metadata if possible.
Approved by:	re@
2005-08-16 22:45:33 +00:00
phk
8257c62ab8 MFC: Remove vttest program, it lives in ports.
Approved by:	re@
2005-08-16 22:40:54 +00:00
jkoshy
565537f7d5 MFC r1.7 "Sync usage message with the code and manual page".
Approved by:	re (kensmith)
2005-08-16 02:03:48 +00:00
cperciva
963a18e0a9 MFC addition of portsnap to the base system plus subsequent enhancements
and bug fixes.

Approved by:	re (kensmith)
2005-08-15 20:24:08 +00:00
cvs2svn
aa9ad453cc This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-08-15 17:07:38 +00:00
jkoshy
e4543b7002 MFC r1.8 "Correctly print system-wide PMC counts for short-lived command lines".
Approved by:	re (hrs)
2005-08-15 15:33:59 +00:00
brueffer
6aba85be97 MFC: rev. 1.70
Add some more info about jail startup and shutdown.

Approved by:	re (hrs)
2005-08-12 22:29:42 +00:00
jcamou
8d44c64aec MFC: Information about starting jails
at boot time if specified in rc.conf.

Submitted by:	matteo
Approved by:	re (hrs), trhodes (mentor)
2005-08-10 19:00:43 +00:00
roberto
468a94f083 MFC of revision 1.10:
The check for invalid characters introduced in 1.9 incorrectly
flags NIS entries as invalid.

Submitted by:   Bob Willcox <bob@immure.com>
PR:             bin/82325 (but I used the patch from Bob).
Approved by:	re (kensmith)
2005-08-07 05:56:54 +00:00
markus
82412193a8 MFC Rev. 1.38
- Fix spelling of 'multiplexer'
- Grammar fixes

Approved by:	re (hrs)
2005-08-06 14:45:18 +00:00
pjd
1ed281aab1 MFC: pw_user.c 1.58
Change /home symbolic link, so it will point to usr/home instead of /usr/home.
Previous symlink was confusing:

	# cd /jails/virtual_system_1/home
	# realpath .
	/usr/home

...and slower.

OK'ed by:	rwatson, phk
Approved by:	re (kensmith)
2005-08-05 19:39:25 +00:00
brueffer
5660f0803e MFC: rev. 1.28
Mention the default value of PATH and that it may be overridden.

Approved by:	re (hrs)
2005-08-04 19:58:48 +00:00
des
0c2d08649a MFC: build BIND without thread support.
Approved by:	re (kensmith)
2005-07-30 07:56:28 +00:00
sam
b9cc67bbb8 MFC fixes to deal with interfaces being removed:
o we no longer loop
o wpa_supplicant terminates when the last configured interface goes away

Approved by:	re (kensmith)
2005-07-30 01:19:10 +00:00
krion
7be509ace2 MFC: main.c:1.6, perform.c:1.13, pkg_version.1:1.36, version.h:1.5
date: 2005/07/27 07:55:12;  author: krion;  state: Exp;  lines: +12 -2
  Add -o/-O options to pkg_version:

   -o  Show the origin recorded on package generation instead of the
       package name.

   -O  Only list packages whose registered origin is origin.

Approved by:	re (kensmith)
2005-07-29 18:16:06 +00:00
njl
c388e8b5ba MFC: Bring up to HEAD. Notify user if they don't have permission to run
powerd and don't exit if the error is EPERM.

Approved by:	re (kensmith)
2005-07-29 16:34:05 +00:00
njl
c4c6f5773e MFC: Bring up to HEAD, fixing output format bugs and adding power status
support.

Approved by:	re (kensmith)
2005-07-29 16:31:58 +00:00
grehan
85dcd28828 MFC, r1.234:
Make sure /etc/fstab is written out for Apple-partitioned drives

    reviewed by:    scottl

Approved by:	re (Ken Smith)
2005-07-28 01:18:19 +00:00
grehan
c3509ed9f1 MFC, r1.161:
Recognise GEM ethernet adapter (sparc64/ppc).

    reviewed by:    scottl

Approved by:	re (Ken Smith)
2005-07-28 01:17:12 +00:00
avatar
0120539207 MFC: (1.5) Fixing an off-by-one error.
Approved by:	re (kensmith)
2005-07-27 12:45:36 +00:00
kensmith
1f1979ea2c Insta-MFC of the shared library version bump. All shared libraries
whose version has not already been bumped since RELENG_5 are being
bumped.

Revisions of files being MFC-ed:

> Path						Revision
> src/gnu/lib/libdialog/Makefile		1.43
> src/gnu/lib/libg2c/Makefile			1.16
> src/gnu/lib/libobjc/Makefile			1.27
> src/gnu/lib/libreadline/Makefile.inc		1.12
> src/gnu/lib/libregex/Makefile			1.32
> src/gnu/lib/libstdc++/Makefile		1.56
> src/kerberos5/lib/Makefile.inc		1.7
> src/lib/Makefile.inc				1.3
> src/lib/libalias/Makefile			1.31
> src/lib/libarchive/Makefile			1.37
> src/lib/libbegemot/Makefile			1.3
> src/lib/libbluetooth/Makefile			1.2
> src/lib/libbsnmp/Makefile.inc			1.6
> src/lib/libbz2/Makefile			1.6
> src/lib/libc_r/Makefile			1.42
> src/lib/libcrypt/Makefile			1.36
> src/lib/libdevstat/Makefile			1.15
> src/lib/libdevstat/devstat.h			1.11
> src/lib/libedit/Makefile			1.29
> src/lib/libexpat/Makefile			1.5
> src/lib/libfetch/Makefile			1.45
> src/lib/libftpio/Makefile			1.14
> src/lib/libgpib/Makefile			1.2
> src/lib/libipsec/Makefile			1.17
> src/lib/libkiconv/Makefile			1.3
> src/lib/libmagic/Makefile			1.7
> src/lib/libmp/Makefile			1.10
> src/lib/libncp/Makefile			1.6
> src/lib/libncurses/Makefile			1.79
> src/lib/libnetgraph/Makefile			1.11
> src/lib/libngatm/Makefile			1.6
> src/lib/libopie/Makefile			1.21
> src/lib/libpam/Makefile.inc			1.17
> src/lib/libpthread/Makefile			1.54
> src/lib/libradius/Makefile			1.12
> src/lib/libsdp/Makefile			1.4
> src/lib/libsmb/Makefile			1.8
> src/lib/libtacplus/Makefile			1.7
> src/lib/libthr/Makefile			1.14
> src/lib/libthread_db/Makefile			1.6
> src/lib/libugidfw/Makefile			1.7
> src/lib/libusbhid/Makefile			1.10
> src/lib/libutil/Makefile			1.57
> src/lib/libvgl/Makefile			1.11
> src/lib/libwrap/Makefile			1.17
> src/lib/libypclnt/Makefile			1.13
> src/lib/msun/Makefile				1.72
> src/secure/lib/libcrypto/Makefile		1.74
> src/secure/lib/libssh/Makefile		1.35
> src/secure/lib/libssl/Makefile		1.22
> src/usr.sbin/bsnmpd/modules/Makefile.inc	1.10

Reviewed by:	ru
Approved by:	re (scottl)
2005-07-22 17:29:10 +00:00
emax
9ed76b0a6f MFC to RELENG_6
kbdmux(4) keyboard multiplexer integration

o Teach kbdcontrol(1) how to attach/detach keyboards to/from the keyboard
  multiplexor;

o Update kbdcontrol(1) man page and document new functionality.

To attach/detach keyboard to/from keyboard multiplexor one needs to use
keyboard device name (i.e. ukbd0).

Approved by:	re (kensmith)
2005-07-21 17:04:02 +00:00
cvs2svn
b63ff29afc This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-07-20 21:10:58 +00:00
rwatson
12391a1891 Merge pmcstat.8:1.6 from HEAD to RELENG_6:
Fix spelling error in sample command.

Approved by:	re (hrs)
2005-07-17 19:32:27 +00:00
brueffer
150c09eb2f MFC:
- Remove MLINKS to nonexistant manpages
- Change some section numbers to match reality
- For MLINKS to manpages from ports, mention which port installs them

Approved by:	re (hrs)
2005-07-17 15:03:36 +00:00
brueffer
6e93f10f16 MFC:
Spelling and grammar fixes.

Approved by:	re (kensmith)
2005-07-16 19:02:21 +00:00