elfcap.h (faa201661c72339a6764f6f64e2f052f804da9b6) | elfcap.h (ebb8ac078e9265f87093fbb363e8c2cbc6ee13e6) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 7 unchanged lines hidden (view full) --- 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 7 unchanged lines hidden (view full) --- 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. |
24 * Copyright (c) 2011, Joyent, Inc. All rights reserved. | 24 * Copyright (c) 2012, Joyent, Inc. All rights reserved. |
25 */ 26 27#ifndef _ELFCAP_DOT_H 28#define _ELFCAP_DOT_H 29 30#include <sys/types.h> 31 32#ifdef __cplusplus --- 77 unchanged lines hidden (view full) --- 110 111/* 112 * # of each type of capability known to the system. These values 113 * must be kept in sync with the arrays found in elfcap.c. 114 */ 115#define ELFCAP_NUM_SF1 3 116#define ELFCAP_NUM_HW1_SPARC 17 117#define ELFCAP_NUM_HW1_386 32 | 25 */ 26 27#ifndef _ELFCAP_DOT_H 28#define _ELFCAP_DOT_H 29 30#include <sys/types.h> 31 32#ifdef __cplusplus --- 77 unchanged lines hidden (view full) --- 110 111/* 112 * # of each type of capability known to the system. These values 113 * must be kept in sync with the arrays found in elfcap.c. 114 */ 115#define ELFCAP_NUM_SF1 3 116#define ELFCAP_NUM_HW1_SPARC 17 117#define ELFCAP_NUM_HW1_386 32 |
118#define ELFCAP_NUM_HW2_386 2 |
|
118 119 120/* 121 * Given a capability section tag and value, call the proper underlying 122 * "to str" function to generate the string description. 123 */ 124extern elfcap_err_t elfcap_tag_to_str(elfcap_style_t, uint64_t, 125 elfcap_mask_t, char *, size_t, elfcap_fmt_t, ushort_t); --- 46 unchanged lines hidden --- | 119 120 121/* 122 * Given a capability section tag and value, call the proper underlying 123 * "to str" function to generate the string description. 124 */ 125extern elfcap_err_t elfcap_tag_to_str(elfcap_style_t, uint64_t, 126 elfcap_mask_t, char *, size_t, elfcap_fmt_t, ushort_t); --- 46 unchanged lines hidden --- |