Subject: CVS commit: src/sbin/atactl
To: None <>
From: Matthias Drochner <>
List: source-changes
Date: 04/12/2005 11:40:46
Module Name:	src
Committed By:	drochner
Date:		Tue Apr 12 11:40:46 UTC 2005

Modified Files:
	src/sbin/atactl: atactl.c

Log Message:
Implement a "security" command with subcommands to query the status of
the "security" extension and to "freeze" it. With the security extension
frozen, disk passwords cannot be set anymore, until the next hard reset.
Normally, this is the business of the BIOS, but older/buggy/embedded
BIOSes don't care. This leaves the (theoretical) possibility that a
malicious program in posession of superuser rights sets a disk password,
rendering the disk useless (or at least uneconomical to recover from).
Inspired by an article in the german "ct" magazine.
Being here, consolidate the implementations of IDENTIFY into one, and
fix an obvious alignment problem.

To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 src/sbin/atactl/atactl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.