Function report |
Source Code:security\keys\keyctl.c |
Create Date:2022-07-28 18:21:26 |
| Last Modify:2020-03-18 07:59:52 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The key control system call
Proto:SYSCALL_DEFINE5(keyctl, int, option, unsigned long, arg2, unsigned long, arg3, unsigned long, arg4, unsigned long, arg5)
Type:
Parameter:Nothing
| 1718 | Case option == ask for a keyring's ID |
| 1722 | Case option == join or start named session keyring |
| 1725 | Case option == update a key |
| 1730 | Case option == voke a key |
| 1733 | Case option == describe a key |
| 1734 | Return Return a description of a key to userspace |
| 1738 | Case option == clear contents of a keyring |
| 1741 | Case option == link a key into a keyring |
| 1745 | Case option == unlink a key from a keyring |
| 1749 | Case option == search for a key in a keyring |
| 1755 | Case option == ad a key or keyring's contents |
| 1756 | Return Read a key's payload |
| 1760 | Case option == set ownership of a key |
| 1765 | Case option == set perms on a key |
| 1769 | Case option == stantiate a partially constructed key |
| 1775 | Case option == gate a partially constructed key |
| 1780 | Case option == set default request-key keyring |
| 1783 | Case option == set key timeout |
| 1787 | Case option == assume request_key() authorisation |
| 1790 | Case option == get key security label |
| 1795 | Case option == apply session keyring to parent process |
| 1798 | Case option == ject a partially constructed key |
| 1804 | Case option == stantiate a partially constructed key |
| 1811 | Case option == validate a key |
| 1814 | Case option == get a user's persistent keyring |
| 1815 | Return keyctl_get_persistent((uid_t)arg2, (key_serial_t)arg3) |
| 1817 | Case option == Compute Diffie-Hellman values |
| 1818 | Return keyctl_dh_compute((structkeyctl_dh_params__user * )arg2, (char__user * )arg3, (size_t)arg4, (structkeyctl_kdf_params__user * )arg5) |
| 1822 | Case option == Restrict keys allowed to link to a keyring |
| 1827 | Case option == Query public key parameters |
| 1830 | Return keyctl_pkey_query((key_serial_t)arg2, (constchar__user * )arg4, (structkeyctl_pkey_query__user * )arg5) |
| 1834 | Case option == Encrypt a blob using a public key |
| 1835 | Case option == Decrypt a blob using a public key |
| 1836 | Case option == Create a public key signature |
| 1844 | Case option == Verify a public key signature |
| 1845 | Return keyctl_pkey_verify((conststructkeyctl_pkey_params__user * )arg2, (constchar__user * )arg3, (constvoid__user * )arg4, (constvoid__user * )arg5) |
| 1851 | Case option == Move keys between keyrings |
| 1857 | Case option == Find capabilities of keyrings subsystem |
| 1858 | Return Get keyrings subsystem capabilities. |
| 1860 | Default |
| 1861 | Return -EOPNOTSUPP |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |