Bug 200782 - missing definitions in errno.h
Summary: missing definitions in errno.h
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc-kernheaders
Version: 5
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Woodhouse
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-31 16:53 UTC by Kevin Coffman
Modified: 2008-01-06 21:34 UTC (History)
0 users

Fixed In Version: Fedora 7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-06 21:34:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kevin Coffman 2006-07-31 16:53:58 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060614 Fedora/1.5.0.4-1.2.fc5 Firefox/1.5.0.4 pango-text

Description of problem:
There are definitions missing from /usr/include/asm/errno.h.

It has:
...
#define ENAVAIL         119     /* No XENIX semaphores available */
#define EISNAM          120     /* Is a named type file */
#define EREMOTEIO       121     /* Remote I/O error */
#define EDQUOT          122     /* Quota exceeded */

#define ENOMEDIUM       123     /* No medium found */
#define EMEDIUMTYPE     124     /* Wrong medium type */

#endif


While the kernel headers for 2.6.17-1.2157_FC5-i686 in /usr/src/kernels/2.6.17-1.2157_FC5-i686/include/asm-generic has:
...
#define ENAVAIL         119     /* No XENIX semaphores available */
#define EISNAM          120     /* Is a named type file */
#define EREMOTEIO       121     /* Remote I/O error */
#define EDQUOT          122     /* Quota exceeded */

#define ENOMEDIUM       123     /* No medium found */
#define EMEDIUMTYPE     124     /* Wrong medium type */
#define ECANCELED       125     /* Operation Canceled */
#define ENOKEY          126     /* Required key not available */
#define EKEYEXPIRED     127     /* Key has expired */
#define EKEYREVOKED     128     /* Key has been revoked */
#define EKEYREJECTED    129     /* Key was rejected by service */

/* for robust mutexes */
#define EOWNERDEAD      130     /* Owner died */
#define ENOTRECOVERABLE 131     /* State not recoverable */

#endif


Version-Release number of selected component (if applicable):
glibc-kernheaders-3.0-5.2

How reproducible:
Always


Steps to Reproduce:
1.Attempt to compile a program requiring keyring errno values such as ENOKEY.

Actual Results:


Expected Results:


Additional info:

Comment 1 Till Maas 2008-01-06 21:34:37 UTC
Fixed in Fedora 7.


Note You need to log in before you can comment on or make changes to this bug.