Bug 31419

Summary: [PATCH] Allow device name patterns in fbtab(5)
Product: Base System Reporter: mux <mux>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fbtab.patch none

Description mux 2001-10-22 00:40:01 UTC
	The handling of the fbtab(5) file in login(1) only allows to put
complete device pathnames or pathnames ending with "/*" in which case it
will apply the changes to all files in the directory.

	This patch rewrites the login_protect() routine to use glob(3)
so that it's possible to put real device name patterns.  This is very
useful for all the /dev/dsp* and /dev/audio* devices.

How-To-Repeat: 	Try to put /dev/dsp* in the list of device names in /etc/fbtab :)
Comment 1 Robert Watson freebsd_committer freebsd_triage 2001-10-25 21:49:32 UTC
State Changed
From-To: open->closed

Patch committed, thanks.  MFC after set to three weeks.