OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Bob Beck (beckcvs.openbsd.org)
Date: Fri Aug 04 2006 - 16:35:51 CDT


CVSROOT: /cvs
Module name: src
Changes by: beckcvs.openbsd.org 2006/08/04 15:35:51

Modified files:
        sys/sys : errno.h
        sys/scsi : scsi_base.c
        lib/libc : shlib_version
        lib/libc/gen : errlist.c
        lib/libc/sys : intro.2

Log message:
Add ENOMEDIUM and EMEDIUMTYPE to report medium errors to userland programs
when using removable media devices, along with changes to scsi_base to
detect such cases in tapes other devices. This makes tar, dd, and friends
report a semi useful error message instead of nonsense when there is nothing
in the device.

Includes libc minor bump, and will require the corresponding sets change.

ok krw deraadt