11 years agoAdjust for recent changes.
Sascha Wildner [Thu, 8 Jan 2009 00:39:10 +0000 (01:39 +0100)]
Adjust for recent changes.

11 years agoRemove some unneeded .Pp's.
Sascha Wildner [Thu, 8 Jan 2009 00:31:40 +0000 (01:31 +0100)]
Remove some unneeded .Pp's.

11 years agonetconfig is not a function.
Sascha Wildner [Thu, 8 Jan 2009 00:21:08 +0000 (01:21 +0100)]
netconfig is not a function.

11 years agoFix typo.
Sascha Wildner [Thu, 8 Jan 2009 00:14:19 +0000 (01:14 +0100)]
Fix typo.

11 years agoUse .Er
Sascha Wildner [Thu, 8 Jan 2009 00:03:24 +0000 (01:03 +0100)]
Use .Er

11 years agoAdd /usr/Makefile to 'make upgrade'.
Sascha Wildner [Wed, 7 Jan 2009 22:35:37 +0000 (23:35 +0100)]
Add /usr/Makefile to 'make upgrade'.

Reported-by: David Rhodus <sdrhodus@gmail.com>
11 years agoAdd missing .Lb
Sascha Wildner [Wed, 7 Jan 2009 22:21:01 +0000 (23:21 +0100)]
Add missing .Lb

11 years agoSmall mdoc cleanup.
Sascha Wildner [Wed, 7 Jan 2009 22:17:21 +0000 (23:17 +0100)]
Small mdoc cleanup.

11 years agoRename atrun.man -> atrun.8. There's nothing to process here.
Sascha Wildner [Wed, 7 Jan 2009 20:48:01 +0000 (21:48 +0100)]
Rename atrun.man -> atrun.8. There's nothing to process here.

11 years agoAdd ale(4) to LINT and GENERIC.
Sepherosa Ziehau [Wed, 7 Jan 2009 12:08:29 +0000 (20:08 +0800)]
Add ale(4) to LINT and GENERIC.

11 years agoDisable TX hardware CSUM offloading.
Sepherosa Ziehau [Wed, 7 Jan 2009 11:49:56 +0000 (19:49 +0800)]
Disable TX hardware CSUM offloading.

Reported-by: mneumann@
11 years agoRemove sr(4) ISA part's remainder
Sepherosa Ziehau [Sat, 3 Jan 2009 12:26:36 +0000 (20:26 +0800)]
Remove sr(4) ISA part's remainder

11 years agoRemove ISA network device cx(4)
Sepherosa Ziehau [Sat, 3 Jan 2009 12:04:05 +0000 (20:04 +0800)]
Remove ISA network device cx(4)

11 years agoRemove ISA part of sr(4)
Sepherosa Ziehau [Sat, 3 Jan 2009 11:21:46 +0000 (19:21 +0800)]
Remove ISA part of sr(4)

11 years agoAdd missing type.
Sascha Wildner [Wed, 7 Jan 2009 02:13:17 +0000 (03:13 +0100)]
Add missing type.

11 years agoSort the .note.ABI-tag section always to the front of a binary.
Simon Schubert [Tue, 6 Jan 2009 12:27:38 +0000 (13:27 +0100)]
Sort the .note.ABI-tag section always to the front of a binary.

Our kernel uses a special note section in the elf header to determine
which ABI emulation to use.  However the kernel code expects this
section to reside in the first page of a binary.
Up to now, we were just lucky to get most of our binaries linked in a
way so that the note section by chance wound up in the first page.
Yet, this was never guaranteed to happen.

Recent changes to the static library build pushed the note section
after the first page (3rd order effect), so that the kernel could not
determine the correct ABI emulation anymore.

There are two possible fixes:
For one, the kernel could be changed to accept note sections located
anywhere in the binary.  This however does not apply to already deployed
systems, which could face problems when upgrading.

Second, we could ensure that the note tag always winds up in the first
page of a binary.  We take this approach by changing our linker scripts
to sort the .note.ABI-tag section to the front.

11 years agoProperly initialize the new vmspace and register its pmap.
Simon Schubert [Tue, 6 Jan 2009 02:18:30 +0000 (03:18 +0100)]
Properly initialize the new vmspace and register its pmap.

Without this the vmspace's pmap would not be in the global
pmap_list.  This later leads to a panic when sys_exec_sys_unregister
releases the vmspace.

Reported-by: Christian Sturm <athaba@inode.at>
11 years agoDrop old linker trickery to strip local symbols.
Simon Schubert [Mon, 5 Jan 2009 23:38:23 +0000 (00:38 +0100)]
Drop old linker trickery to strip local symbols.

No clue why this ever existed.  FreeBSD dropped this >5 years ago.

11 years agoCompile libstand for amd64 with i386 headers.
Simon Schubert [Tue, 6 Jan 2009 01:07:53 +0000 (02:07 +0100)]
Compile libstand for amd64 with i386 headers.

11 years agoPrevent build errors by reordering header files.
Simon Schubert [Tue, 6 Jan 2009 00:54:59 +0000 (01:54 +0100)]
Prevent build errors by reordering header files.

11 years agoForce compilation with -march=i386 to avoid code bloat.
Simon Schubert [Tue, 6 Jan 2009 00:27:46 +0000 (01:27 +0100)]
Force compilation with -march=i386 to avoid code bloat.

11 years agoProperly generate fake i386 machine headers for amd64 build.
Simon Schubert [Tue, 6 Jan 2009 00:26:40 +0000 (01:26 +0100)]
Properly generate fake i386 machine headers for amd64 build.

11 years agoAvoid spilling NXCFLAGS/NXLDFLAGS, like we do already in boot2.
Simon Schubert [Tue, 6 Jan 2009 00:26:02 +0000 (01:26 +0100)]
Avoid spilling NXCFLAGS/NXLDFLAGS, like we do already in boot2.

11 years agoAdjust for amd64.
Simon Schubert [Mon, 5 Jan 2009 23:39:29 +0000 (00:39 +0100)]
Adjust for amd64.

11 years agoFold patches into contrib.
Simon 'corecode' Schubert [Sat, 3 Jan 2009 22:51:53 +0000 (23:51 +0100)]
Fold patches into contrib.

11 years agoAdd i386 support for the amd64 ld.
Simon 'corecode' Schubert [Sat, 3 Jan 2009 22:00:08 +0000 (23:00 +0100)]
Add i386 support for the amd64 ld.

11 years agoPass flags as CFLAGS.
Simon 'corecode' Schubert [Sat, 3 Jan 2009 21:59:48 +0000 (22:59 +0100)]
Pass flags as CFLAGS.

11 years agoCollapse makefile with parent to avoid duplication.
Simon 'corecode' Schubert [Sat, 3 Jan 2009 21:55:50 +0000 (22:55 +0100)]
Collapse makefile with parent to avoid duplication.

11 years agoDon't explicitly set target architecture, let as figure it out itself.
Simon 'corecode' Schubert [Sat, 3 Jan 2009 21:51:24 +0000 (22:51 +0100)]
Don't explicitly set target architecture, let as figure it out itself.

11 years agoAdjust for amd64 boot.
Simon 'corecode' Schubert [Mon, 29 Dec 2008 18:42:20 +0000 (19:42 +0100)]
Adjust for amd64 boot.

11 years agoAdd wrapper for the cross-tools stage.
Simon 'corecode' Schubert [Sat, 3 Jan 2009 17:23:43 +0000 (18:23 +0100)]
Add wrapper for the cross-tools stage.

11 years agoRemove useless line.
Sascha Wildner [Mon, 5 Jan 2009 22:21:06 +0000 (23:21 +0100)]
Remove useless line.

11 years agoAdd some uhci ids.
Simon Schubert [Mon, 5 Jan 2009 16:24:04 +0000 (17:24 +0100)]
Add some uhci ids.

Mostly-obtained-from:  FreeBSD

11 years agoEven in the reinstall case make sure that /boot/modules is a directory.
Simon Schubert [Mon, 5 Jan 2009 13:32:37 +0000 (14:32 +0100)]
Even in the reinstall case make sure that /boot/modules is a directory.

11 years agoif_re needs miibus
Simon Schubert [Mon, 5 Jan 2009 12:37:04 +0000 (13:37 +0100)]
if_re needs miibus

11 years agoAdd card ID for my G41 IGP.
Simon Schubert [Mon, 5 Jan 2009 12:20:59 +0000 (13:20 +0100)]
Add card ID for my G41 IGP.

11 years agoUse more specific privilege
Michael Neumann [Mon, 5 Jan 2009 14:30:49 +0000 (15:30 +0100)]
Use more specific privilege

11 years agoStart privilege testing framework
Michael Neumann [Mon, 5 Jan 2009 14:02:50 +0000 (15:02 +0100)]
Start privilege testing framework

11 years agoFix up handling of Intel G4X chips some more.
Hasso Tepper [Sun, 4 Jan 2009 21:14:11 +0000 (23:14 +0200)]
Fix up handling of Intel G4X chips some more.

Note that you need at least xf86-video-intel 2.4.3 for this to work.
The G4X doesn't put the GATT into the same area of stolen memory
as all the other chips and older versions of the driver didn't
handle that properly.

Obtained-from: FreeBSD

11 years agoAdd a README.DELETED for the files removed for pam_passwdqc.
Peter Avalos [Sun, 4 Jan 2009 20:23:41 +0000 (15:23 -0500)]
Add a README.DELETED for the files removed for pam_passwdqc.

11 years agoMerge branch 'vendor/PAM_PASSWDQC'
Peter Avalos [Sun, 4 Jan 2009 20:21:20 +0000 (15:21 -0500)]
Merge branch 'vendor/PAM_PASSWDQC'

11 years agoRemove files from pam_passwdqc that we don't need. vendor/PAM_PASSWDQC
Peter Avalos [Sun, 4 Jan 2009 20:17:46 +0000 (15:17 -0500)]
Remove files from pam_passwdqc that we don't need.

11 years agoAdd pam_passwdqc to the build.
Peter Avalos [Sun, 4 Jan 2009 17:06:53 +0000 (12:06 -0500)]
Add pam_passwdqc to the build.

This is a pam module that does simple password strength checking.  The
features are mentioned in the README and in the manual page.  A sample
configuration already exists in /etc/pam.d/passwd, and is not enabled by

11 years agoMerge commit 'origin/vendor/PAM_PASSWDQC'
Peter Avalos [Sun, 4 Jan 2009 17:19:57 +0000 (12:19 -0500)]
Merge commit 'origin/vendor/PAM_PASSWDQC'

11 years agoImport pam_passwdqc 1.0.5 from the Openwall project.
Peter Avalos [Sun, 4 Jan 2009 16:25:06 +0000 (11:25 -0500)]
Import pam_passwdqc 1.0.5 from the Openwall project.

11 years agoWhite space
Sepherosa Ziehau [Sun, 4 Jan 2009 12:36:43 +0000 (20:36 +0800)]
White space

11 years agoWhite space and minor style changes
Sepherosa Ziehau [Sun, 4 Jan 2009 12:30:21 +0000 (20:30 +0800)]
White space and minor style changes

11 years ago- White space
Sepherosa Ziehau [Sun, 4 Jan 2009 12:19:46 +0000 (20:19 +0800)]
- White space
- Put definition of BUS_DMA_MIN_ALLOC_COMP after bus_dma_tag

11 years agoWhite space
Sepherosa Ziehau [Sun, 4 Jan 2009 12:15:14 +0000 (20:15 +0800)]
White space

11 years agokmalloc(M_INTWAIT) will not fail
Sepherosa Ziehau [Sun, 4 Jan 2009 12:08:11 +0000 (20:08 +0800)]
kmalloc(M_INTWAIT) will not fail

11 years ago- Add hw.busdma sysctl tree.
Sepherosa Ziehau [Sun, 4 Jan 2009 11:50:53 +0000 (19:50 +0800)]
- Add hw.busdma sysctl tree.
- Add a node under it to show number bounce pages allocated.

11 years agoSync rsh(1) with FreeBSD.
Peter Avalos [Sun, 4 Jan 2009 01:30:08 +0000 (20:30 -0500)]
Sync rsh(1) with FreeBSD.

-Take out all the kerberos stuff and offload that to PAM.

-Use <paths.h> instead of a local pathnames.h.

11 years agoAdd a PAM config for kde.
Peter Avalos [Sun, 4 Jan 2009 01:10:04 +0000 (20:10 -0500)]
Add a PAM config for kde.

Obtained-from: FreeBSD

11 years agoAdd a PAM config for cron(8).
Peter Avalos [Sun, 4 Jan 2009 01:01:22 +0000 (20:01 -0500)]
Add a PAM config for cron(8).

Obtained-from: FreeBSD

11 years agoSync atrun with FreeBSD:
Peter Avalos [Sat, 3 Jan 2009 23:58:03 +0000 (18:58 -0500)]
Sync atrun with FreeBSD:

-Add PAM support.

-Remove non-Dragonfly code.

-Use strlcpy().

-Use setusercontext to get login.conf settings.

11 years agoSync pam configuration files with FreeBSD.
Peter Avalos [Sat, 3 Jan 2009 22:30:52 +0000 (17:30 -0500)]
Sync pam configuration files with FreeBSD.

-Take advantage of pam_nologin for account management.

-Locked out and expired accounts shouldn't be accessible via remote
mailbox protocols.

-xserver doesn't seem to be used.

11 years agoSync login(1) with FreeBSD. Highlights include:
Peter Avalos [Sat, 3 Jan 2009 22:10:01 +0000 (17:10 -0500)]
Sync login(1) with FreeBSD.  Highlights include:

-Completely PAMify login(1).

-Remove (void) casts.

-Teach login(1) to respect "hushlogin" and "nocheckmail" attributes
defined in user's $HOME/.login_conf.

-Sprinkle static keyword where needed.

11 years agoAdd a nice little C mode for Emacs.
Sascha Wildner [Sat, 3 Jan 2009 22:38:55 +0000 (23:38 +0100)]
Add a nice little C mode for Emacs.

Taken-from: FreeBSD (posted by DES to cvs-all some time ago)

11 years agoAnother temporary hack to hide reentrant netdb functions.
Peter Avalos [Sat, 3 Jan 2009 17:54:18 +0000 (12:54 -0500)]
Another temporary hack to hide reentrant netdb functions.

This should help pkgsrc before the release.  After the release we should
figure out what it takes to get these thread-safe functions working with
3rd party programs.

11 years agoUse libutil and libypclnt in chpass for passwd manipulations.
Peter Avalos [Sun, 28 Dec 2008 17:40:34 +0000 (12:40 -0500)]
Use libutil and libypclnt in chpass for passwd manipulations.

While I'm here, WARNS and style cleanups.

Obtained-from: FreeBSD

11 years agoBring in a PAM version of passwd.
Peter Avalos [Tue, 16 Dec 2008 16:32:02 +0000 (11:32 -0500)]
Bring in a PAM version of passwd.

Obtained-from: FreeBSD

11 years agoDo not dereference a null pointer for a malformed line in master.passwd.
Peter Avalos [Sun, 28 Dec 2008 06:25:56 +0000 (01:25 -0500)]
Do not dereference a null pointer for a malformed line in passwd.

Instead, just copy it silently to prevent programs from bailing.  While
I'm here, remove some (void) casts.

Obtained-from: FreeBSD

11 years agoRemove libskey(3). libopie replaces it.
Peter Avalos [Sat, 3 Jan 2009 01:07:04 +0000 (20:07 -0500)]
Remove libskey(3).  libopie replaces it.

11 years agoAdd full PAM support for account management and sessions to su(1).
Peter Avalos [Sat, 3 Jan 2009 03:21:33 +0000 (22:21 -0500)]
Add full PAM support for account management and sessions to su(1).

Obtained-from: FreeBSD

11 years agoRemove S/Key key-handling apps which are replaced by OPIE's.
Peter Avalos [Fri, 2 Jan 2009 20:40:49 +0000 (15:40 -0500)]
Remove S/Key key-handling apps which are replaced by OPIE's.

11 years agoRemove rexecd(8).
Peter Avalos [Fri, 2 Jan 2009 20:25:46 +0000 (15:25 -0500)]
Remove rexecd(8).

It's been obsolete since the 4.3BSD days, and it's been discouraged for
over a decade.

11 years agoSync ftpd(8) with FreeBSD. Here are the highlights:
Peter Avalos [Fri, 2 Jan 2009 23:16:23 +0000 (18:16 -0500)]
Sync ftpd(8) with FreeBSD. Here are the highlights:

-Prevent cross-site forgery attacks on ftpd(8) due to splitting
long commands into multiple requests.

-Switch from S/Key to OPIE.

-Add PAM support for account management and sessions.

-Avoid calling uninitialized function pointers in protocol switch

-Add support for RFC 2389 (FEAT) and RFC 2640 (UTF8) to ftpd(8).

-Use uniform punctuation, capitalization, and language style
in server messages wherever this doesn't contradict to a particular
message format.

-Use the standardized CHAR_BIT constant instead of NBBY.

-Let tilde expansion be done even if a file/directory doesn't exist yet.
This makes such natural commands as "MKD ~user/newdir" or "STOR
~/newfile" do what they are supposed to instead of failing miserably
with the "File not found" error.

-ANSI function declarations.

-Remove (void) casts and register keyword.

-Block SIGURG while reading from the control channel.
SIGURG is configured by ftpd to interrupt system calls, which is useful
during data transfers.  However, SIGURG could interrupt I/O on the
control channel as well, which was mistaken for the end of the session.
A practical example could be aborting the download of a tiny file,
when the abort sequence reached ftpd after ftpd had passed the file
data to the system and returned to its command loop.

-Improve error handling in getline().

-Log pathname arguments to ftp commands as the user specified them;
add the working directory pathname to the log message if any of
such arguments isn't absolute.  This has advantage over the old
way of logging that an admin can see what users are actually trying
to do, and where.  The old code was also not too robust when it
came to a chrooted session and an absolute pathname.

-Improve handling SIGURG and OOB commands on the control channel.
The major change is to process STAT sent as an OOB command w/o
breaking the current data transfer.  As a side effect, this gives
better error checking in the code performing data transfers.

-Never emit a message to stderr: use syslog instead.
When in inetd mode, this prevents bogus messages from
appearing on the control channel.  When running as a
daemon, we shouldn't write to the terminal we used to
have at all.

-Don't depend on IPv4-mapped IPv6 address to bind to both IPv4
and IPv6.

-Work around a bug in some clients by never returning raw directory
contents in reply to a RETR command.  Such clients consider RETR
as a way to tell a file from a directory.

-Log the actual number of bytes sent on the wire to /var/log/ftpd
instead of the disk size of the file sent.   Since the log file
is intended to provide data for anonymous ftp traffic accounting,
the disk size of the file isn't really informative in this case.

11 years agoUse a Makefile in etc/pam.d instead of the one in etc/.
Peter Avalos [Fri, 2 Jan 2009 19:36:55 +0000 (14:36 -0500)]
Use a Makefile in etc/pam.d instead of the one in etc/.

11 years agoRemove unneeded variable settings (set by etc/defaults/rc.conf anyway).
Sascha Wildner [Sat, 3 Jan 2009 15:31:16 +0000 (16:31 +0100)]
Remove unneeded variable settings (set by etc/defaults/rc.conf anyway).

11 years agoFix a typo. Actually is 16, not 12
Matthias Schmidt [Sat, 3 Jan 2009 13:16:58 +0000 (14:16 +0100)]
Fix a typo.  Actually is 16, not 12

11 years agoMerge branch 'master' of git://chlamydia.fs.ei.tum.de/dragonfly
Matthias Schmidt [Sat, 3 Jan 2009 13:07:22 +0000 (14:07 +0100)]
Merge branch 'master' of git://chlamydia.fs.ei.tum.de/dragonfly

11 years agoMake the "Configure installed system" functionality work
Matthias Schmidt [Sat, 3 Jan 2009 12:54:33 +0000 (13:54 +0100)]
Make the "Configure installed system" functionality work

This button did not work, because the installer could not determine whether
the installed fs is HAMMER or UFS.  Ask the user before mounting the partition.
I chose the simple dialog rather than a automatic solution because it would
make the installer even more ugly (i.e. it would results in some grep+awk+foobar

11 years agoAdjust for the portmap -> rpcbind change (fix netboot option).
Sascha Wildner [Sat, 3 Jan 2009 12:51:17 +0000 (13:51 +0100)]
Adjust for the portmap -> rpcbind change (fix netboot option).

While I'm here, remove some non-Dragonfly stuff and sort the lists.

11 years agoZero out the disklabel before using it
Matthias Schmidt [Sat, 3 Jan 2009 12:39:38 +0000 (13:39 +0100)]
Zero out the disklabel before using it

Otherwise using a 64-bit disklabel on a disk which contains a 32-bit
disklabel is not possible and vice versa.

11 years agoMore installer work
Matthias Schmidt [Sat, 3 Jan 2009 12:19:35 +0000 (13:19 +0100)]
More installer work

* During the last HAMMER work, the UFS installer got broken.  Fix this.
  Thanks swildner@ for noticing.
* Handle PFS mounts correctly

11 years agoTemporary hack out reentrant user database functions.
Hasso Tepper [Fri, 2 Jan 2009 22:48:31 +0000 (00:48 +0200)]
Temporary hack out reentrant user database functions.

Bringing in reentrant user database functions caused major issues with
pkgsrc and there is no time to fix these (2008Q4 is released really
soon now). Also there seem to be some missing pieces to conform SUSv3.

The hack will be reverted after 2.2 release.

The patch by pavalos@, requested by me.

11 years agoAdd ifmedia(4) reference.
Sascha Wildner [Fri, 2 Jan 2009 23:24:28 +0000 (00:24 +0100)]
Add ifmedia(4) reference.

11 years agoFix section.
Sascha Wildner [Fri, 2 Jan 2009 23:07:39 +0000 (00:07 +0100)]
Fix section.

11 years agoNumerous adjustments to the recent rpcbind etc. changes.
Sascha Wildner [Fri, 2 Jan 2009 23:00:24 +0000 (00:00 +0100)]
Numerous adjustments to the recent rpcbind etc. changes.

11 years agoUse .CURDIR instead of matching .ALLSRC.
Simon Schubert [Fri, 2 Jan 2009 21:39:54 +0000 (22:39 +0100)]
Use .CURDIR instead of matching .ALLSRC.

This allows compilation without object dir.

11 years agoZero out the start of the disk.
Sascha Wildner [Fri, 2 Jan 2009 13:18:03 +0000 (14:18 +0100)]
Zero out the start of the disk.

11 years agoAdd more files which were removed in the recent commit spree.
Sascha Wildner [Fri, 2 Jan 2009 12:32:01 +0000 (13:32 +0100)]
Add more files which were removed in the recent commit spree.

11 years agoAdd age(4) for Attansic/Atheros L1 gigabit ethernet controller.
Sepherosa Ziehau [Fri, 2 Jan 2009 11:52:51 +0000 (19:52 +0800)]
Add age(4) for Attansic/Atheros L1 gigabit ethernet controller.

Obtained-from: FreeBSD (yongari@freebsd.org)

11 years agoAdd VPD capability register offsets
Sepherosa Ziehau [Fri, 2 Jan 2009 11:37:42 +0000 (19:37 +0800)]
Add VPD capability register offsets

Obtained-from: FreeBSD

11 years agoChange the GCC specific __FUNCTION__ to C99's __func__.
Peter Avalos [Thu, 1 Jan 2009 15:51:45 +0000 (10:51 -0500)]
Change the GCC specific __FUNCTION__ to C99's __func__.

Obtained-from: FreeBSD

11 years agoAvoid namespace pollution for applications that link in libssh.
Peter Avalos [Thu, 1 Jan 2009 01:26:28 +0000 (20:26 -0500)]
Avoid namespace pollution for applications that link in libssh.

Obtained-from: FreeBSD

11 years agoLock out authentication if the account has been locked by pw(8).
Peter Avalos [Mon, 29 Dec 2008 01:20:17 +0000 (20:20 -0500)]
Lock out authentication if the account has been locked by pw(8).

In account management, verify whether the account has been locked
with `pw lock', so that it's impossible to log into a locked account
using an alternative authentication mechanism, such as an ssh key.
This change affects only accounts locked with pw(8), i.e., having a
`*LOCKED*' prefix in their password hash field, so people still can
use a different pattern to disable password authentication only.

Also, clean out some (void) casts and use libypclnt.

Obtained-from: FreeBSD

11 years agoA few bug-fixes for pam_ssh:
Peter Avalos [Mon, 29 Dec 2008 00:26:38 +0000 (19:26 -0500)]
A few bug-fixes for pam_ssh:

-Narrow the use of user credentials.
-Fix one case where openpam_restore_cred() might be called twice in a
-Do not use passphraseless keys for authentication unless the nullok
option was specified.
-Correct the logic for determining whether the user has already entered
a password.

Obtained-from: FreeBSD

11 years agoAlso send Access Challenge in pam_radius.
Peter Avalos [Mon, 29 Dec 2008 00:02:14 +0000 (19:02 -0500)]
Also send Access Challenge in pam_radius.

Obtained-from: FreeBSD

11 years agoCorrect documentation of ~/.opiealways
Peter Avalos [Sun, 28 Dec 2008 23:53:43 +0000 (18:53 -0500)]
Correct documentation of ~/.opiealways

Obtained-from: FreeBSD

11 years agoReject usernames that are longer than OPIE can handle.
Peter Avalos [Sun, 28 Dec 2008 23:42:36 +0000 (18:42 -0500)]
Reject usernames that are longer than OPIE can handle.

Obtained-from: FreeBSD

11 years agoAdd some more pam modules:
Peter Avalos [Sun, 28 Dec 2008 22:19:37 +0000 (17:19 -0500)]
Add some more pam modules:

pam_echo(8)         Display args to user.
pam_exec(8)         Execute a program.
pam_ftpusers(8)     Enforces /etc/ftpusers.
pam_group(8)        Accept/reject a user based on their group.
pam_guest(8)        Allow guest logins.
pam_ksu(8)          Kerberos 5 auth for su(1).
pam_lastlog(8)      Record sessions in utmp/wtmp/lastlog.
pam_login_access(8) Enforces /etc/login.access.
pam_rhosts(8)       See rhosts(5).
pam_rootok(8)       Succeeds if root.
pam_securetty(8)    Succeeds if use is on a secure tty.
pam_self(8)         Checks if local and remote user names are equal.

Obtained-from: FreeBSD

11 years agoMove WARNS6 into pam_module/Makefile.inc.
Peter Avalos [Sun, 28 Dec 2008 20:24:50 +0000 (15:24 -0500)]
Move WARNS6 into pam_module/Makefile.inc.

11 years agoAdd a pam_chroot(8) module.
Peter Avalos [Sun, 28 Dec 2008 19:21:45 +0000 (14:21 -0500)]
Add a pam_chroot(8) module.

Also, let's make pam_module/Makefile a little easier to deal with.

Obtained-from: FreeBSD

11 years agoHandle 'hammer cleanup' using the output of mount instead of df.
Sascha Wildner [Thu, 1 Jan 2009 22:42:55 +0000 (23:42 +0100)]
Handle 'hammer cleanup' using the output of mount instead of df.

This fixes hammer(8) trying to cleanup null mounts which are not HAMMER

11 years agoSome fixes related to the HAMMER support in the installer.
Sascha Wildner [Thu, 1 Jan 2009 19:05:12 +0000 (20:05 +0100)]
Some fixes related to the HAMMER support in the installer.

* Add HAMMER related command names to the correct cmdnames.conf and
  remove the one in contrib/ to avoid future confusion.

* Fix array initialization.

* Improve wording a bit.

11 years agoRefactor sys_jail() and fix bugs.
Michael Neumann [Thu, 1 Jan 2009 18:24:10 +0000 (18:24 +0000)]
Refactor sys_jail() and fix bugs.

Fixes two issues:

  * uap->sysmsg_result was not consistently assigned -1 in case of
    an error.

  * A version 0 syscall triggered a copyinstr(j.hostname, ...) on an
    uninitialized struct jail j.

11 years agoRegenerate the pciconf(8) database from the following files:
Sascha Wildner [Thu, 1 Jan 2009 16:59:35 +0000 (17:59 +0100)]
Regenerate the pciconf(8) database from the following files:

Hart:    Jan 22, 2008 (version 671)
Boemler: Jan  1, 2009
Mares:   Dec 27, 2008

11 years agoMerge branch 'master' of ssh://swildner@crater.dragonflybsd.org/repository/git/dragonfly
Sascha Wildner [Thu, 1 Jan 2009 16:49:31 +0000 (17:49 +0100)]
Merge branch 'master' of ssh://swildner@crater.dragonflybsd.org/repository/git/dragonfly

11 years agoHook in priv.9 and add MLINKS.
Sascha Wildner [Thu, 1 Jan 2009 16:48:50 +0000 (17:48 +0100)]
Hook in priv.9 and add MLINKS.