Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: keyctl.h
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
[0] Fix | Delete
/* keyctl.h: keyctl command IDs
[1] Fix | Delete
*
[2] Fix | Delete
* Copyright (C) 2004, 2008 Red Hat, Inc. All Rights Reserved.
[3] Fix | Delete
* Written by David Howells (dhowells@redhat.com)
[4] Fix | Delete
*
[5] Fix | Delete
* This program is free software; you can redistribute it and/or
[6] Fix | Delete
* modify it under the terms of the GNU General Public License
[7] Fix | Delete
* as published by the Free Software Foundation; either version
[8] Fix | Delete
* 2 of the License, or (at your option) any later version.
[9] Fix | Delete
*/
[10] Fix | Delete
[11] Fix | Delete
#ifndef _LINUX_KEYCTL_H
[12] Fix | Delete
#define _LINUX_KEYCTL_H
[13] Fix | Delete
[14] Fix | Delete
#include <linux/types.h>
[15] Fix | Delete
[16] Fix | Delete
/* special process keyring shortcut IDs */
[17] Fix | Delete
#define KEY_SPEC_THREAD_KEYRING -1 /* - key ID for thread-specific keyring */
[18] Fix | Delete
#define KEY_SPEC_PROCESS_KEYRING -2 /* - key ID for process-specific keyring */
[19] Fix | Delete
#define KEY_SPEC_SESSION_KEYRING -3 /* - key ID for session-specific keyring */
[20] Fix | Delete
#define KEY_SPEC_USER_KEYRING -4 /* - key ID for UID-specific keyring */
[21] Fix | Delete
#define KEY_SPEC_USER_SESSION_KEYRING -5 /* - key ID for UID-session keyring */
[22] Fix | Delete
#define KEY_SPEC_GROUP_KEYRING -6 /* - key ID for GID-specific keyring */
[23] Fix | Delete
#define KEY_SPEC_REQKEY_AUTH_KEY -7 /* - key ID for assumed request_key auth key */
[24] Fix | Delete
#define KEY_SPEC_REQUESTOR_KEYRING -8 /* - key ID for request_key() dest keyring */
[25] Fix | Delete
[26] Fix | Delete
/* request-key default keyrings */
[27] Fix | Delete
#define KEY_REQKEY_DEFL_NO_CHANGE -1
[28] Fix | Delete
#define KEY_REQKEY_DEFL_DEFAULT 0
[29] Fix | Delete
#define KEY_REQKEY_DEFL_THREAD_KEYRING 1
[30] Fix | Delete
#define KEY_REQKEY_DEFL_PROCESS_KEYRING 2
[31] Fix | Delete
#define KEY_REQKEY_DEFL_SESSION_KEYRING 3
[32] Fix | Delete
#define KEY_REQKEY_DEFL_USER_KEYRING 4
[33] Fix | Delete
#define KEY_REQKEY_DEFL_USER_SESSION_KEYRING 5
[34] Fix | Delete
#define KEY_REQKEY_DEFL_GROUP_KEYRING 6
[35] Fix | Delete
#define KEY_REQKEY_DEFL_REQUESTOR_KEYRING 7
[36] Fix | Delete
[37] Fix | Delete
/* keyctl commands */
[38] Fix | Delete
#define KEYCTL_GET_KEYRING_ID 0 /* ask for a keyring's ID */
[39] Fix | Delete
#define KEYCTL_JOIN_SESSION_KEYRING 1 /* join or start named session keyring */
[40] Fix | Delete
#define KEYCTL_UPDATE 2 /* update a key */
[41] Fix | Delete
#define KEYCTL_REVOKE 3 /* revoke a key */
[42] Fix | Delete
#define KEYCTL_CHOWN 4 /* set ownership of a key */
[43] Fix | Delete
#define KEYCTL_SETPERM 5 /* set perms on a key */
[44] Fix | Delete
#define KEYCTL_DESCRIBE 6 /* describe a key */
[45] Fix | Delete
#define KEYCTL_CLEAR 7 /* clear contents of a keyring */
[46] Fix | Delete
#define KEYCTL_LINK 8 /* link a key into a keyring */
[47] Fix | Delete
#define KEYCTL_UNLINK 9 /* unlink a key from a keyring */
[48] Fix | Delete
#define KEYCTL_SEARCH 10 /* search for a key in a keyring */
[49] Fix | Delete
#define KEYCTL_READ 11 /* read a key or keyring's contents */
[50] Fix | Delete
#define KEYCTL_INSTANTIATE 12 /* instantiate a partially constructed key */
[51] Fix | Delete
#define KEYCTL_NEGATE 13 /* negate a partially constructed key */
[52] Fix | Delete
#define KEYCTL_SET_REQKEY_KEYRING 14 /* set default request-key keyring */
[53] Fix | Delete
#define KEYCTL_SET_TIMEOUT 15 /* set key timeout */
[54] Fix | Delete
#define KEYCTL_ASSUME_AUTHORITY 16 /* assume request_key() authorisation */
[55] Fix | Delete
#define KEYCTL_GET_SECURITY 17 /* get key security label */
[56] Fix | Delete
#define KEYCTL_SESSION_TO_PARENT 18 /* apply session keyring to parent process */
[57] Fix | Delete
#define KEYCTL_REJECT 19 /* reject a partially constructed key */
[58] Fix | Delete
#define KEYCTL_INSTANTIATE_IOV 20 /* instantiate a partially constructed key */
[59] Fix | Delete
#define KEYCTL_INVALIDATE 21 /* invalidate a key */
[60] Fix | Delete
#define KEYCTL_GET_PERSISTENT 22 /* get a user's persistent keyring */
[61] Fix | Delete
#define KEYCTL_DH_COMPUTE 23 /* Compute Diffie-Hellman values */
[62] Fix | Delete
#define KEYCTL_RESTRICT_KEYRING 29 /* Restrict keys allowed to link to a keyring */
[63] Fix | Delete
[64] Fix | Delete
/* keyctl structures */
[65] Fix | Delete
struct keyctl_dh_params {
[66] Fix | Delete
__s32 private;
[67] Fix | Delete
__s32 prime;
[68] Fix | Delete
__s32 base;
[69] Fix | Delete
};
[70] Fix | Delete
[71] Fix | Delete
struct keyctl_kdf_params {
[72] Fix | Delete
char *hashname;
[73] Fix | Delete
char *otherinfo;
[74] Fix | Delete
__u32 otherinfolen;
[75] Fix | Delete
__u32 __spare[8];
[76] Fix | Delete
};
[77] Fix | Delete
[78] Fix | Delete
#endif /* _LINUX_KEYCTL_H */
[79] Fix | Delete
[80] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function