| // SPDX-License-Identifier: CDDL-1.0 | |
| /* | |
| * This file and its contents are supplied under the terms of the | |
| * Common Development and Distribution License ("CDDL"), version 1.0. | |
| * You may only use this file in accordance with the terms of version | |
| * 1.0 of the CDDL. | |
| * | |
| * A full copy of the text of the CDDL should have accompanied this | |
| * source. A copy of the CDDL is also available via the Internet at | |
| * https://opensource.org/license/CDDL-1.0. | |
| */ | |
| /* | |
| * Copyright 2000 Sun Microsystems, Inc. All rights reserved. | |
| * Use is subject to license terms. | |
| */ | |
| /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ | |
| /* All Rights Reserved */ | |
| /* | |
| * University Copyright- Copyright (c) 1982, 1986, 1988 | |
| * The Regents of the University of California | |
| * All Rights Reserved | |
| * | |
| * University Acknowledgment- Portions of this document are derived from | |
| * software developed by the University of California, Berkeley, and its | |
| * contributors. | |
| */ | |
| #ifndef _SYS_ERRNO_H | |
| #define _SYS_ERRNO_H | |
| #include <linux/errno.h> | |
| #define ENOTSUP EOPNOTSUPP | |
| /* | |
| * We'll take the unused errnos, 'EBADE' and 'EBADR' (from the Convergent | |
| * graveyard) to indicate checksum errors and fragmentation. | |
| */ | |
| #define ECKSUM EBADE | |
| #define EFRAGS EBADR | |
| /* Similar for ENOACTIVE */ | |
| #define ENOTACTIVE ENOANO | |
| #endif /* _SYS_ERRNO_H */ |