type
stringclasses
2 values
api_name
stringlengths
4
44
file
stringlengths
8
70
commit
stringlengths
40
40
old_signature
stringlengths
14
4.12k
new_signature
stringlengths
19
4.19k
change_type
stringclasses
5 values
function_signature_change
tcpm_pd_ctrl_request
drivers/usb/typec/tcpm/tcpm.c
6bd181ba60e198fef6f750b543832f161fbd9f39
static void tcpm_pd_ctrl_request(struct tcpm_port *port, const struct pd_message *msg)
static void tcpm_pd_ctrl_request(struct tcpm_port *port, const struct pd_message *msg, enum tcpm_transmit_type rx_sop_type)
param_added
function_signature_change
tcpm_pd_send_control
drivers/usb/typec/tcpm/tcpm.c
6bd181ba60e198fef6f750b543832f161fbd9f39
static int tcpm_pd_send_control(struct tcpm_port *port, enum pd_ctrl_msg_type type)
static int tcpm_pd_send_control(struct tcpm_port *port, enum pd_ctrl_msg_type type, enum tcpm_transmit_type tx_sop_type)
param_added
function_signature_change
tcpm_pd_transmit
drivers/usb/typec/tcpm/tcpm.c
e03f6fef5ea885f80dc6c7339a7f8aea1b0a609f
static int tcpm_pd_transmit(struct tcpm_port *port, enum tcpm_transmit_type type, const struct pd_message *msg)
static int tcpm_pd_transmit(struct tcpm_port *port, enum tcpm_transmit_type tx_sop_type, const struct pd_message *msg)
param_type_changed
function_signature_change
tcpm_pd_receive
drivers/usb/typec/tcpm/tcpm.c
3bbb9ba4f66006f27ad0d5ceaf2480117e16d489
void tcpm_pd_receive(struct tcpm_port *port, const struct pd_message *msg)
void tcpm_pd_receive(struct tcpm_port *port, const struct pd_message *msg, enum tcpm_transmit_type rx_sop_type)
param_added
function_signature_change
tcpm_pd_receive
include/linux/usb/tcpm.h
3bbb9ba4f66006f27ad0d5ceaf2480117e16d489
void tcpm_pd_receive(struct tcpm_port *port, const struct pd_message *msg)
void tcpm_pd_receive(struct tcpm_port *port, const struct pd_message *msg, enum tcpm_transmit_type rx_sop_type)
param_added
struct_layout_change
typec_cable
drivers/usb/typec/class.h
231b7318413cef0f8e5c2ca8db1a95b666c25d70
null
null
fields_modified
struct_layout_change
txgbe
drivers/net/ethernet/wangxun/txgbe/txgbe_type.h
aefd013624a10f39b0bfaee8432a235128705380
null
null
fields_modified
function_signature_change
wait_for_unix_gc
include/net/af_unix.h
d9f21b3613337b55cc9d4a6ead484dca68475143
void wait_for_unix_gc(void)
void wait_for_unix_gc(struct scm_fp_list *fpl)
param_type_changed
function_signature_change
wait_for_unix_gc
net/unix/garbage.c
d9f21b3613337b55cc9d4a6ead484dca68475143
void wait_for_unix_gc(void)
void wait_for_unix_gc(struct scm_fp_list *fpl)
param_type_changed
function_signature_change
unix_get_socket
include/net/af_unix.h
5b17307bd0789edea0675d524a2b277b93bbde62
struct sock *unix_get_socket(struct file *filp)
struct unix_sock *unix_get_socket(struct file *filp)
return_type_changed
function_signature_change
bq27xxx_battery_read_dcap
drivers/power/supply/bq27xxx_battery.c
b282c30dad3e10738a4f03043efaff93d9e8de02
static int bq27xxx_battery_read_dcap(struct bq27xxx_device_info *di)
static int bq27xxx_battery_read_dcap(struct bq27xxx_device_info *di, union power_supply_propval *val)
param_added
struct_layout_change
xe_guc_ct
drivers/gpu/drm/xe/xe_guc_ct_types.h
dc75d03716fe3944210a9381884c6b699fe0de90
null
null
fields_modified
function_signature_change
v9fs_init_inode
fs/9p/v9fs_vfs.h
724a08450f74b02bd89078a596fd24857827c012
int v9fs_init_inode(struct v9fs_session_info *v9ses, struct inode *inode, umode_t mode, dev_t rdev)
int v9fs_init_inode(struct v9fs_session_info *v9ses, struct inode *inode, struct p9_qid *qid, umode_t mode, dev_t rdev)
param_added
function_signature_change
v9fs_init_inode
fs/9p/vfs_inode.c
724a08450f74b02bd89078a596fd24857827c012
int v9fs_init_inode(struct v9fs_session_info *v9ses, struct inode *inode, umode_t mode, dev_t rdev)
int v9fs_init_inode(struct v9fs_session_info *v9ses, struct inode *inode, struct p9_qid *qid, umode_t mode, dev_t rdev)
param_added
function_signature_change
cs42l43_mask_to_slots
sound/soc/codecs/cs42l43.c
fe04d1632cb4130fb47d18fe70ac292562a3b9c3
static void cs42l43_mask_to_slots(struct cs42l43_codec *priv, unsigned int mask, int *slots)
static void cs42l43_mask_to_slots(struct cs42l43_codec *priv, unsigned long mask, int *slots, unsigned int nslots)
param_added
struct_layout_change
iwl_phy_context_cmd
drivers/net/wireless/intel/iwlwifi/fw/api/phy-ctxt.h
38d84aaed52832945887ae8618bed68c89a3bf81
null
null
fields_modified
function_signature_change
iwl_mvm_get_session_prot_id
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
6c8ce23854b66db94d88e0957e531cb074806c16
static int iwl_mvm_get_session_prot_id(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 link_id)
static int iwl_mvm_get_session_prot_id(struct iwl_mvm *mvm, struct ieee80211_vif *vif, s8 link_id)
param_type_changed
function_signature_change
iwl_mvm_cancel_session_protection
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
6c8ce23854b66db94d88e0957e531cb074806c16
static void iwl_mvm_cancel_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 id, u32 link_id)
static void iwl_mvm_cancel_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 id, s8 link_id)
param_type_changed
struct_layout_change
iwl_dev_info
drivers/net/wireless/intel/iwlwifi/iwl-config.h
cf74ce02e394109e16efcb4f15a8e885e9a834a7
null
null
fields_modified
function_signature_change
ieee80211_verify_peer_he_mcs_support
net/mac80211/mlme.c
6593c7aec7fa15d59af4fbefdbb3d46d27d6e3ed
static bool ieee80211_verify_peer_he_mcs_support(struct ieee80211_sub_if_data *sdata, const struct cfg80211_bss_ies *ies, const struct ieee80211_he_operation *he_op)
static bool ieee80211_verify_peer_he_mcs_support(struct ieee80211_sub_if_data *sdata, const struct ieee80211_he_cap_elem *he_cap, const struct ieee80211_he_operation *he_op)
param_type_changed
function_signature_change
ieee80211_config_bw
net/mac80211/mlme.c
d1155f2873cfd387ffb7f5423edbfb2bb22eaf32
static int ieee80211_config_bw(struct ieee80211_link_data *link, const struct ieee80211_ht_cap *ht_cap, const struct ieee80211_vht_cap *vht_cap, const struct ieee80211_ht_operation *ht_oper, const struct ieee80211_vht_operation *vht_oper, const struct ieee80211_he_operation *he_oper, const struct ieee80211_eht_operation *eht_oper, const struct ieee80211_s1g_oper_ie *s1g_oper, const u8 *bssid, u64 *changed)
static int ieee80211_config_bw(struct ieee80211_link_data *link, struct ieee802_11_elems *elems, const u8 *bssid, u64 *changed)
param_removed
function_signature_change
cfg80211_mlme_assoc
net/wireless/core.h
ccb964b4ab1663ce92f389b72c052fc47a0ffdb9
int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_assoc_request *req)
int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_assoc_request *req, struct netlink_ext_ack *extack)
param_added
function_signature_change
cfg80211_mlme_assoc
net/wireless/mlme.c
ccb964b4ab1663ce92f389b72c052fc47a0ffdb9
int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_assoc_request *req)
int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_assoc_request *req, struct netlink_ext_ack *extack)
param_added
function_signature_change
ccmp_gcmp_aad
net/mac80211/wpa.c
3b220ed8b2172fd8edb22a62a5c3a9a9c9f2b6bd
static u8 ccmp_gcmp_aad(struct sk_buff *skb, u8 *aad)
static u8 ccmp_gcmp_aad(struct sk_buff *skb, u8 *aad, bool spp_amsdu)
param_added
function_signature_change
ccmp_special_blocks
net/mac80211/wpa.c
3b220ed8b2172fd8edb22a62a5c3a9a9c9f2b6bd
static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad)
static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad, bool spp_amsdu)
param_added
function_signature_change
gcmp_special_blocks
net/mac80211/wpa.c
3b220ed8b2172fd8edb22a62a5c3a9a9c9f2b6bd
static void gcmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *j_0, u8 *aad)
static void gcmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *j_0, u8 *aad, bool spp_amsdu)
param_added
function_signature_change
ce_aes_ccm_encrypt
arch/arm64/crypto/aes-ce-ccm-glue.c
f691d444f9a9094a5a89bb618495f2bfa9309f32
asmlinkage void ce_aes_ccm_encrypt(u8 out[], u8 const in[], u32 cbytes, u32 const rk[], u32 rounds, u8 mac[], u8 ctr[])
asmlinkage void ce_aes_ccm_encrypt(u8 out[], u8 const in[], u32 cbytes, u32 const rk[], u32 rounds, u8 mac[], u8 ctr[], u8 const final_iv[])
param_added
function_signature_change
ce_aes_ccm_decrypt
arch/arm64/crypto/aes-ce-ccm-glue.c
f691d444f9a9094a5a89bb618495f2bfa9309f32
asmlinkage void ce_aes_ccm_decrypt(u8 out[], u8 const in[], u32 cbytes, u32 const rk[], u32 rounds, u8 mac[], u8 ctr[])
asmlinkage void ce_aes_ccm_decrypt(u8 out[], u8 const in[], u32 cbytes, u32 const rk[], u32 rounds, u8 mac[], u8 ctr[], u8 const final_iv[])
param_added
function_signature_change
ce_aes_ccm_auth_data
arch/arm64/crypto/aes-ce-ccm-glue.c
948ffc66e595e56c6ebf672db38d59c8a9efc108
asmlinkage u32 ce_aes_ccm_auth_data(u8 mac[], u8 const in[], u32 abytes, u32 macp, u32 const rk[], u32 rounds)
static u32 ce_aes_ccm_auth_data(u8 mac[], u8 const in[], u32 abytes, u32 macp, u32 const rk[], u32 rounds)
return_type_changed
function_signature_change
add_iaa_compression_mode
drivers/crypto/intel/iaa/iaa_crypto.h
3274819b3c81c18c01e3c0e0ea726870ec237ac0
int add_iaa_compression_mode(const char *name, const u32 *ll_table, int ll_table_size, const u32 *d_table, int d_table_size, const u8 *header_table, int header_table_size, u16 gen_decomp_table_flags, iaa_dev_comp_init_fn_t init, iaa_dev_comp_free_fn_t free)
int add_iaa_compression_mode(const char *name, const u32 *ll_table, int ll_table_size, const u32 *d_table, int d_table_size, iaa_dev_comp_init_fn_t init, iaa_dev_comp_free_fn_t free)
param_removed
struct_layout_change
iaa_compression_mode
drivers/crypto/intel/iaa/iaa_crypto.h
3274819b3c81c18c01e3c0e0ea726870ec237ac0
null
null
fields_modified
function_signature_change
add_iaa_compression_mode
drivers/crypto/intel/iaa/iaa_crypto_main.c
3274819b3c81c18c01e3c0e0ea726870ec237ac0
int add_iaa_compression_mode(const char *name, const u32 *ll_table, int ll_table_size, const u32 *d_table, int d_table_size, const u8 *header_table, int header_table_size, u16 gen_decomp_table_flags, iaa_dev_comp_init_fn_t init, iaa_dev_comp_free_fn_t free)
int add_iaa_compression_mode(const char *name, const u32 *ll_table, int ll_table_size, const u32 *d_table, int d_table_size, iaa_dev_comp_init_fn_t init, iaa_dev_comp_free_fn_t free)
param_removed
function_signature_change
gve_rx_alloc_buffer
drivers/net/ethernet/google/gve/gve_rx.c
3df18416267bb0d390399f4e63f74f7d76c5d92e
static int gve_rx_alloc_buffer(struct gve_priv *priv, struct device *dev, struct gve_rx_slot_page_info *page_info, union gve_rx_data_slot *data_slot)
static int gve_rx_alloc_buffer(struct gve_priv *priv, struct device *dev, struct gve_rx_slot_page_info *page_info, union gve_rx_data_slot *data_slot, struct gve_rx_ring *rx)
param_added
function_signature_change
amdgpu_amdkfd_ras_poison_consumption_handler
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
ed1e1e42fd68b073fc47aefe94d70364f3a43e97
void amdgpu_amdkfd_ras_poison_consumption_handler(struct amdgpu_device *adev, bool reset)
void amdgpu_amdkfd_ras_poison_consumption_handler(struct amdgpu_device *adev, enum amdgpu_ras_block block, bool reset)
param_added
function_signature_change
amdgpu_amdkfd_ras_poison_consumption_handler
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
ed1e1e42fd68b073fc47aefe94d70364f3a43e97
void amdgpu_amdkfd_ras_poison_consumption_handler(struct amdgpu_device *adev, bool reset)
void amdgpu_amdkfd_ras_poison_consumption_handler(struct amdgpu_device *adev, enum amdgpu_ras_block block, bool reset)
param_added
function_signature_change
amdgpu_umc_poison_handler
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
ed1e1e42fd68b073fc47aefe94d70364f3a43e97
int amdgpu_umc_poison_handler(struct amdgpu_device *adev, bool reset)
int amdgpu_umc_poison_handler(struct amdgpu_device *adev, enum amdgpu_ras_block block, bool reset)
param_added
function_signature_change
amdgpu_umc_poison_handler
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
ed1e1e42fd68b073fc47aefe94d70364f3a43e97
int amdgpu_umc_poison_handler(struct amdgpu_device *adev, bool reset)
int amdgpu_umc_poison_handler(struct amdgpu_device *adev, enum amdgpu_ras_block block, bool reset)
param_added
function_signature_change
xgpu_ai_ras_poison_handler
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
ed1e1e42fd68b073fc47aefe94d70364f3a43e97
static void xgpu_ai_ras_poison_handler(struct amdgpu_device *adev)
static void xgpu_ai_ras_poison_handler(struct amdgpu_device *adev, enum amdgpu_ras_block block)
param_added
function_signature_change
xgpu_nv_ras_poison_handler
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
ed1e1e42fd68b073fc47aefe94d70364f3a43e97
static void xgpu_nv_ras_poison_handler(struct amdgpu_device *adev)
static void xgpu_nv_ras_poison_handler(struct amdgpu_device *adev, enum amdgpu_ras_block block)
param_added
function_signature_change
amd_hsmp_rdwr
drivers/platform/x86/amd/hsmp.c
17998b3e529bf161bb6ab52c7aafb8a9e2270a7f
static int amd_hsmp_rdwr(struct hsmp_socket *sock, u32 address, u32 *value, bool write)
static int amd_hsmp_rdwr(struct hsmp_socket *sock, u32 offset, u32 *value, bool write)
param_type_changed
function_signature_change
amd_hsmp_rdwr
drivers/platform/x86/amd/hsmp.c
287a821c76be80d69d9a82a94147d0daa5232a4b
static int amd_hsmp_rdwr(struct pci_dev *root, u32 address, u32 *value, bool write)
static int amd_hsmp_rdwr(struct hsmp_socket *sock, u32 address, u32 *value, bool write)
param_type_changed
function_signature_change
__hsmp_send_message
drivers/platform/x86/amd/hsmp.c
287a821c76be80d69d9a82a94147d0daa5232a4b
static int __hsmp_send_message(struct pci_dev *root, struct hsmp_message *msg)
static int __hsmp_send_message(struct hsmp_socket *sock, struct hsmp_message *msg)
param_type_changed
function_signature_change
mana_ib_cq_handler
drivers/infiniband/hw/mana/cq.c
2a31c5a7e0d87959a03e846523013c75f4395a91
void mana_ib_cq_handler(void *ctx, struct gdma_queue *gdma_cq)
static void mana_ib_cq_handler(void *ctx, struct gdma_queue *gdma_cq)
return_type_changed
struct_layout_change
mana_ib_cq
drivers/infiniband/hw/mana/mana_ib.h
2a31c5a7e0d87959a03e846523013c75f4395a91
null
null
fields_modified
function_signature_change
mtr_init_buf_cfg
drivers/infiniband/hw/hns/hns_roce_mr.c
0ff6c9779aafc24dd253fdf4e2d6e2dc68940818
static int mtr_init_buf_cfg(struct hns_roce_dev *hr_dev, struct hns_roce_buf_attr *attr, struct hns_roce_hem_cfg *cfg, u64 unalinged_size)
static int mtr_init_buf_cfg(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, struct hns_roce_buf_attr *attr)
param_removed
function_signature_change
mtr_map_bufs
drivers/infiniband/hw/hns/hns_roce_mr.c
4f5731b1fb2246719513dfb918bf71b6818aa5f5
static int mtr_map_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, int page_count, unsigned int page_shift)
static int mtr_map_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr)
param_removed
function_signature_change
mtr_init_buf_cfg
drivers/infiniband/hw/hns/hns_roce_mr.c
4f5731b1fb2246719513dfb918bf71b6818aa5f5
static int mtr_init_buf_cfg(struct hns_roce_dev *hr_dev, struct hns_roce_buf_attr *attr, struct hns_roce_hem_cfg *cfg, unsigned int *buf_page_shift, u64 unalinged_size)
static int mtr_init_buf_cfg(struct hns_roce_dev *hr_dev, struct hns_roce_buf_attr *attr, struct hns_roce_hem_cfg *cfg, u64 unalinged_size)
param_removed
function_signature_change
hns_roce_mtr_find
drivers/infiniband/hw/hns/hns_roce_device.h
a4ca341080758d847db155b97887bff6f84016a4
int hns_roce_mtr_find(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, u32 offset, u64 *mtt_buf, int mtt_max, u64 *base_addr)
int hns_roce_mtr_find(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, u32 offset, u64 *mtt_buf, int mtt_max)
param_removed
function_signature_change
hns_roce_mtr_find
drivers/infiniband/hw/hns/hns_roce_mr.c
a4ca341080758d847db155b97887bff6f84016a4
int hns_roce_mtr_find(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, u32 offset, u64 *mtt_buf, int mtt_max, u64 *base_addr)
int hns_roce_mtr_find(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, u32 offset, u64 *mtt_buf, int mtt_max)
param_removed
struct_layout_change
hda_component
sound/pci/hda/hda_component.h
fd895a74dc1dca31f4ce7786b36812fda6727477
null
null
fields_modified
function_signature_change
i915_ttm_placement_from_obj
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
a78a8da51b36c7a0c0c16233f91d60aac03a5a49
static void i915_ttm_placement_from_obj(const struct drm_i915_gem_object *obj, struct ttm_place *requested, struct ttm_place *busy, struct ttm_placement *placement)
static void i915_ttm_placement_from_obj(const struct drm_i915_gem_object *obj, struct ttm_place *places, struct ttm_placement *placement)
param_removed
function_signature_change
ttm_resource_compatible
drivers/gpu/drm/ttm/ttm_resource.c
a78a8da51b36c7a0c0c16233f91d60aac03a5a49
bool ttm_resource_compatible(struct ttm_device *bdev, struct ttm_resource *res, const struct ttm_place *place, size_t size)
bool ttm_resource_compatible(struct ttm_resource *res, struct ttm_placement *placement)
param_removed
function_signature_change
set_placement_list
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
a78a8da51b36c7a0c0c16233f91d60aac03a5a49
static u32 set_placement_list(struct ttm_place *pl, u32 domain)
static u32 set_placement_list(struct ttm_place *pl, u32 desired, u32 fallback)
param_added
struct_layout_change
ttm_placement
include/drm/ttm/ttm_placement.h
a78a8da51b36c7a0c0c16233f91d60aac03a5a49
null
null
fields_modified
function_signature_change
ttm_resource_compatible
include/drm/ttm/ttm_resource.h
a78a8da51b36c7a0c0c16233f91d60aac03a5a49
bool ttm_resource_compatible(struct ttm_device *bdev, struct ttm_resource *res, const struct ttm_place *place, size_t size)
bool ttm_resource_compatible(struct ttm_resource *res, struct ttm_placement *placement)
param_removed
function_signature_change
subtest_userns
tools/testing/selftests/bpf/prog_tests/token.c
906ee42cb1be1152ef24465704cc89edc3f571c1
static void subtest_userns(struct bpffs_opts *bpffs_opts, child_callback_fn cb)
static void subtest_userns(struct bpffs_opts *bpffs_opts, child_callback_fn child_cb)
param_type_changed
function_signature_change
userns_map_create
tools/testing/selftests/bpf/prog_tests/token.c
906ee42cb1be1152ef24465704cc89edc3f571c1
static int userns_map_create(int mnt_fd)
static int userns_map_create(int mnt_fd, struct token_lsm *lsm_skel)
param_added
function_signature_change
userns_btf_load
tools/testing/selftests/bpf/prog_tests/token.c
906ee42cb1be1152ef24465704cc89edc3f571c1
static int userns_btf_load(int mnt_fd)
static int userns_btf_load(int mnt_fd, struct token_lsm *lsm_skel)
param_added
function_signature_change
userns_prog_load
tools/testing/selftests/bpf/prog_tests/token.c
906ee42cb1be1152ef24465704cc89edc3f571c1
static int userns_prog_load(int mnt_fd)
static int userns_prog_load(int mnt_fd, struct token_lsm *lsm_skel)
param_added
function_signature_change
userns_obj_priv_map
tools/testing/selftests/bpf/prog_tests/token.c
906ee42cb1be1152ef24465704cc89edc3f571c1
static int userns_obj_priv_map(int mnt_fd)
static int userns_obj_priv_map(int mnt_fd, struct token_lsm *lsm_skel)
param_added
function_signature_change
userns_obj_priv_prog
tools/testing/selftests/bpf/prog_tests/token.c
906ee42cb1be1152ef24465704cc89edc3f571c1
static int userns_obj_priv_prog(int mnt_fd)
static int userns_obj_priv_prog(int mnt_fd, struct token_lsm *lsm_skel)
param_added
function_signature_change
userns_obj_priv_btf_fail
tools/testing/selftests/bpf/prog_tests/token.c
906ee42cb1be1152ef24465704cc89edc3f571c1
static int userns_obj_priv_btf_fail(int mnt_fd)
static int userns_obj_priv_btf_fail(int mnt_fd, struct token_lsm *lsm_skel)
param_added
function_signature_change
userns_obj_priv_btf_success
tools/testing/selftests/bpf/prog_tests/token.c
906ee42cb1be1152ef24465704cc89edc3f571c1
static int userns_obj_priv_btf_success(int mnt_fd)
static int userns_obj_priv_btf_success(int mnt_fd, struct token_lsm *lsm_skel)
param_added
function_signature_change
userns_obj_priv_implicit_token
tools/testing/selftests/bpf/prog_tests/token.c
906ee42cb1be1152ef24465704cc89edc3f571c1
static int userns_obj_priv_implicit_token(int mnt_fd)
static int userns_obj_priv_implicit_token(int mnt_fd, struct token_lsm *lsm_skel)
param_added
function_signature_change
userns_obj_priv_implicit_token_envvar
tools/testing/selftests/bpf/prog_tests/token.c
906ee42cb1be1152ef24465704cc89edc3f571c1
static int userns_obj_priv_implicit_token_envvar(int mnt_fd)
static int userns_obj_priv_implicit_token_envvar(int mnt_fd, struct token_lsm *lsm_skel)
param_added
function_signature_change
btf_load_into_kernel
tools/lib/bpf/btf.c
6b434b61b4d9e0e59f2947ce0f58f6fb4de048d8
int btf_load_into_kernel(struct btf *btf, char *log_buf, size_t log_sz, __u32 log_level)
int btf_load_into_kernel(struct btf *btf, char *log_buf, size_t log_sz, __u32 log_level, int token_fd)
param_added
function_signature_change
btf_load_into_kernel
tools/lib/bpf/libbpf_internal.h
6b434b61b4d9e0e59f2947ce0f58f6fb4de048d8
int btf_load_into_kernel(struct btf *btf, char *log_buf, size_t log_sz, __u32 log_level)
int btf_load_into_kernel(struct btf *btf, char *log_buf, size_t log_sz, __u32 log_level, int token_fd)
param_added
function_signature_change
probe_memcg_account
tools/lib/bpf/bpf.c
f3dcee938f485cf403ba2acf1f1548afe637c904
int probe_memcg_account(void)
int probe_memcg_account(int token_fd)
param_type_changed
function_signature_change
probe_kern_prog_name
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_prog_name(void)
static int probe_kern_prog_name(int token_fd)
param_type_changed
function_signature_change
probe_kern_global_data
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_global_data(void)
static int probe_kern_global_data(int token_fd)
param_type_changed
function_signature_change
probe_kern_btf
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_btf(void)
static int probe_kern_btf(int token_fd)
param_type_changed
function_signature_change
probe_kern_btf_func
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_btf_func(void)
static int probe_kern_btf_func(int token_fd)
param_type_changed
function_signature_change
probe_kern_btf_func_global
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_btf_func_global(void)
static int probe_kern_btf_func_global(int token_fd)
param_type_changed
function_signature_change
probe_kern_btf_datasec
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_btf_datasec(void)
static int probe_kern_btf_datasec(int token_fd)
param_type_changed
function_signature_change
probe_kern_btf_float
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_btf_float(void)
static int probe_kern_btf_float(int token_fd)
param_type_changed
function_signature_change
probe_kern_btf_decl_tag
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_btf_decl_tag(void)
static int probe_kern_btf_decl_tag(int token_fd)
param_type_changed
function_signature_change
probe_kern_btf_type_tag
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_btf_type_tag(void)
static int probe_kern_btf_type_tag(int token_fd)
param_type_changed
function_signature_change
probe_kern_array_mmap
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_array_mmap(void)
static int probe_kern_array_mmap(int token_fd)
param_type_changed
function_signature_change
probe_kern_exp_attach_type
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_exp_attach_type(void)
static int probe_kern_exp_attach_type(int token_fd)
param_type_changed
function_signature_change
probe_kern_probe_read_kernel
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_probe_read_kernel(void)
static int probe_kern_probe_read_kernel(int token_fd)
param_type_changed
function_signature_change
probe_prog_bind_map
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_prog_bind_map(void)
static int probe_prog_bind_map(int token_fd)
param_type_changed
function_signature_change
probe_module_btf
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_module_btf(void)
static int probe_module_btf(int token_fd)
param_type_changed
function_signature_change
probe_perf_link
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_perf_link(void)
static int probe_perf_link(int token_fd)
param_type_changed
function_signature_change
probe_uprobe_multi_link
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_uprobe_multi_link(void)
static int probe_uprobe_multi_link(int token_fd)
param_type_changed
function_signature_change
probe_kern_bpf_cookie
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_bpf_cookie(void)
static int probe_kern_bpf_cookie(int token_fd)
param_type_changed
function_signature_change
probe_kern_btf_enum64
tools/lib/bpf/features.c
f3dcee938f485cf403ba2acf1f1548afe637c904
static int probe_kern_btf_enum64(void)
static int probe_kern_btf_enum64(int token_fd)
param_type_changed
function_signature_change
probe_kern_syscall_wrapper
tools/lib/bpf/libbpf.c
f3dcee938f485cf403ba2acf1f1548afe637c904
int probe_kern_syscall_wrapper(void)
int probe_kern_syscall_wrapper(int token_fd)
param_type_changed
function_signature_change
probe_kern_syscall_wrapper
tools/lib/bpf/libbpf_internal.h
f3dcee938f485cf403ba2acf1f1548afe637c904
int probe_kern_syscall_wrapper(void)
int probe_kern_syscall_wrapper(int token_fd)
param_type_changed
function_signature_change
probe_memcg_account
tools/lib/bpf/libbpf_internal.h
f3dcee938f485cf403ba2acf1f1548afe637c904
int probe_memcg_account(void)
int probe_memcg_account(int token_fd)
param_type_changed
function_signature_change
libbpf__load_raw_btf
tools/lib/bpf/libbpf_internal.h
f3dcee938f485cf403ba2acf1f1548afe637c904
int libbpf__load_raw_btf(const char *raw_types, size_t types_len, const char *str_sec, size_t str_len)
int libbpf__load_raw_btf(const char *raw_types, size_t types_len, const char *str_sec, size_t str_len, int token_fd)
param_added
function_signature_change
libbpf__load_raw_btf
tools/lib/bpf/libbpf_probes.c
f3dcee938f485cf403ba2acf1f1548afe637c904
int libbpf__load_raw_btf(const char *raw_types, size_t types_len, const char *str_sec, size_t str_len)
int libbpf__load_raw_btf(const char *raw_types, size_t types_len, const char *str_sec, size_t str_len, int token_fd)
param_added
function_signature_change
probe_kern_syscall_wrapper
tools/lib/bpf/libbpf.c
05f9cdd55d61cf9c6283fd3dc0edc7cad09bd7fe
static int probe_kern_syscall_wrapper(void)
int probe_kern_syscall_wrapper(void)
return_type_changed
function_signature_change
set_delegate_mask
tools/testing/selftests/bpf/prog_tests/token.c
0350f9d99ee538f2ccf179f0216e704a5f39b317
static int set_delegate_mask(int fs_fd, const char *key, __u64 mask)
static int set_delegate_mask(int fs_fd, const char *key, __u64 mask, const char *mask_str)
param_added
function_signature_change
BTF_ID
kernel/bpf/bpf_lsm.c
f568a3d49af9aed813a184353592efe29b0e3d16
BTF_SET_START(sleepable_lsm_hooks) BTF_ID(func, bpf_lsm_bpf) BTF_ID(func, bpf_lsm_bpf_map) BTF_ID(func, bpf_lsm_bpf_map_create) BTF_ID(func, bpf_lsm_bpf_map_free) BTF_ID(func, bpf_lsm_bpf_prog) BTF_ID(func, bpf_lsm_bpf_prog_load) BTF_ID(func, bpf_lsm_bpf_prog_free) BTF_ID(func, bpf_lsm_bprm_check_security) BTF_ID(func, bpf_lsm_bprm_committed_creds) BTF_ID(func, bpf_lsm_bprm_committing_creds) BTF_ID(func, bpf_lsm_bprm_creds_for_exec) BTF_ID(func, bpf_lsm_bprm_creds_from_file) BTF_ID(func, bpf_lsm_capget) BTF_ID(func, bpf_lsm_capset) BTF_ID(func, bpf_lsm_cred_prepare) BTF_ID(func, bpf_lsm_file_ioctl) BTF_ID(func, bpf_lsm_file_lock) BTF_ID(func, bpf_lsm_file_open) BTF_ID(func, bpf_lsm_file_receive) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_inet_conn_established) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_inode_create) BTF_ID(func, bpf_lsm_inode_free_security) BTF_ID(func, bpf_lsm_inode_getattr) BTF_ID(func, bpf_lsm_inode_getxattr) BTF_ID(func, bpf_lsm_inode_mknod) BTF_ID(func, bpf_lsm_inode_need_killpriv) BTF_ID(func, bpf_lsm_inode_post_setxattr) BTF_ID(func, bpf_lsm_inode_readlink) BTF_ID(func, bpf_lsm_inode_rename) BTF_ID(func, bpf_lsm_inode_rmdir) BTF_ID(func, bpf_lsm_inode_setattr) BTF_ID(func, bpf_lsm_inode_setxattr) BTF_ID(func, bpf_lsm_inode_symlink) BTF_ID(func, bpf_lsm_inode_unlink) BTF_ID(func, bpf_lsm_kernel_module_request) BTF_ID(func, bpf_lsm_kernel_read_file) BTF_ID(func, bpf_lsm_kernfs_init_security) #ifdef CONFIG_SECURITY_PATH BTF_ID(func, bpf_lsm_path_unlink) BTF_ID(func, bpf_lsm_path_mkdir) BTF_ID(func, bpf_lsm_path_rmdir) BTF_ID(func, bpf_lsm_path_truncate) BTF_ID(func, bpf_lsm_path_symlink) BTF_ID(func, bpf_lsm_path_link) BTF_ID(func, bpf_lsm_path_rename) BTF_ID(func, bpf_lsm_path_chmod) BTF_ID(func, bpf_lsm_path_chown) #endif /* CONFIG_SECURITY_PATH */ #ifdef CONFIG_KEYS BTF_ID(func, bpf_lsm_key_free) #endif /* CONFIG_KEYS */ BTF_ID(func, bpf_lsm_mmap_file) BTF_ID(func, bpf_lsm_netlink_send) BTF_ID(func, bpf_lsm_path_notify) BTF_ID(func, bpf_lsm_release_secctx) BTF_ID(func, bpf_lsm_sb_alloc_security) BTF_ID(func, bpf_lsm_sb_eat_lsm_opts) BTF_ID(func, bpf_lsm_sb_kern_mount) BTF_ID(func, bpf_lsm_sb_mount) BTF_ID(func, bpf_lsm_sb_remount) BTF_ID(func, bpf_lsm_sb_set_mnt_opts) BTF_ID(func, bpf_lsm_sb_show_options) BTF_ID(func, bpf_lsm_sb_statfs) BTF_ID(func, bpf_lsm_sb_umount) BTF_ID(func, bpf_lsm_settime) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_socket_accept) BTF_ID(func, bpf_lsm_socket_bind) BTF_ID(func, bpf_lsm_socket_connect) BTF_ID(func, bpf_lsm_socket_create) BTF_ID(func, bpf_lsm_socket_getpeername) BTF_ID(func, bpf_lsm_socket_getpeersec_dgram) BTF_ID(func, bpf_lsm_socket_getsockname) BTF_ID(func, bpf_lsm_socket_getsockopt) BTF_ID(func, bpf_lsm_socket_listen) BTF_ID(func, bpf_lsm_socket_post_create) BTF_ID(func, bpf_lsm_socket_recvmsg) BTF_ID(func, bpf_lsm_socket_sendmsg) BTF_ID(func, bpf_lsm_socket_shutdown) BTF_ID(func, bpf_lsm_socket_socketpair) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_syslog) BTF_ID(func, bpf_lsm_task_alloc) BTF_ID(func, bpf_lsm_current_getsecid_subj) BTF_ID(func, bpf_lsm_task_getsecid_obj) BTF_ID(func, bpf_lsm_task_prctl) BTF_ID(func, bpf_lsm_task_setscheduler) BTF_ID(func, bpf_lsm_task_to_inode) BTF_ID(func, bpf_lsm_userns_create) BTF_SET_END(sleepable_lsm_hooks) BTF_SET_START(untrusted_lsm_hooks) BTF_ID(func, bpf_lsm_bpf_map_free) BTF_ID(func, bpf_lsm_bpf_prog_free) BTF_ID(func, bpf_lsm_file_alloc_security) BTF_ID(func, bpf_lsm_file_free_security) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_sk_alloc_security) BTF_ID(func, bpf_lsm_sk_free_security) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_task_free) BTF_SET_END(untrusted_lsm_hooks) bool bpf_lsm_is_sleepable_hook(u32 btf_id)
BTF_SET_START(sleepable_lsm_hooks) BTF_ID(func, bpf_lsm_bpf) BTF_ID(func, bpf_lsm_bpf_map) BTF_ID(func, bpf_lsm_bpf_map_create) BTF_ID(func, bpf_lsm_bpf_map_free) BTF_ID(func, bpf_lsm_bpf_prog) BTF_ID(func, bpf_lsm_bpf_prog_load) BTF_ID(func, bpf_lsm_bpf_prog_free) BTF_ID(func, bpf_lsm_bpf_token_create) BTF_ID(func, bpf_lsm_bpf_token_free) BTF_ID(func, bpf_lsm_bpf_token_cmd) BTF_ID(func, bpf_lsm_bpf_token_capable) BTF_ID(func, bpf_lsm_bprm_check_security) BTF_ID(func, bpf_lsm_bprm_committed_creds) BTF_ID(func, bpf_lsm_bprm_committing_creds) BTF_ID(func, bpf_lsm_bprm_creds_for_exec) BTF_ID(func, bpf_lsm_bprm_creds_from_file) BTF_ID(func, bpf_lsm_capget) BTF_ID(func, bpf_lsm_capset) BTF_ID(func, bpf_lsm_cred_prepare) BTF_ID(func, bpf_lsm_file_ioctl) BTF_ID(func, bpf_lsm_file_lock) BTF_ID(func, bpf_lsm_file_open) BTF_ID(func, bpf_lsm_file_receive) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_inet_conn_established) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_inode_create) BTF_ID(func, bpf_lsm_inode_free_security) BTF_ID(func, bpf_lsm_inode_getattr) BTF_ID(func, bpf_lsm_inode_getxattr) BTF_ID(func, bpf_lsm_inode_mknod) BTF_ID(func, bpf_lsm_inode_need_killpriv) BTF_ID(func, bpf_lsm_inode_post_setxattr) BTF_ID(func, bpf_lsm_inode_readlink) BTF_ID(func, bpf_lsm_inode_rename) BTF_ID(func, bpf_lsm_inode_rmdir) BTF_ID(func, bpf_lsm_inode_setattr) BTF_ID(func, bpf_lsm_inode_setxattr) BTF_ID(func, bpf_lsm_inode_symlink) BTF_ID(func, bpf_lsm_inode_unlink) BTF_ID(func, bpf_lsm_kernel_module_request) BTF_ID(func, bpf_lsm_kernel_read_file) BTF_ID(func, bpf_lsm_kernfs_init_security) #ifdef CONFIG_SECURITY_PATH BTF_ID(func, bpf_lsm_path_unlink) BTF_ID(func, bpf_lsm_path_mkdir) BTF_ID(func, bpf_lsm_path_rmdir) BTF_ID(func, bpf_lsm_path_truncate) BTF_ID(func, bpf_lsm_path_symlink) BTF_ID(func, bpf_lsm_path_link) BTF_ID(func, bpf_lsm_path_rename) BTF_ID(func, bpf_lsm_path_chmod) BTF_ID(func, bpf_lsm_path_chown) #endif /* CONFIG_SECURITY_PATH */ #ifdef CONFIG_KEYS BTF_ID(func, bpf_lsm_key_free) #endif /* CONFIG_KEYS */ BTF_ID(func, bpf_lsm_mmap_file) BTF_ID(func, bpf_lsm_netlink_send) BTF_ID(func, bpf_lsm_path_notify) BTF_ID(func, bpf_lsm_release_secctx) BTF_ID(func, bpf_lsm_sb_alloc_security) BTF_ID(func, bpf_lsm_sb_eat_lsm_opts) BTF_ID(func, bpf_lsm_sb_kern_mount) BTF_ID(func, bpf_lsm_sb_mount) BTF_ID(func, bpf_lsm_sb_remount) BTF_ID(func, bpf_lsm_sb_set_mnt_opts) BTF_ID(func, bpf_lsm_sb_show_options) BTF_ID(func, bpf_lsm_sb_statfs) BTF_ID(func, bpf_lsm_sb_umount) BTF_ID(func, bpf_lsm_settime) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_socket_accept) BTF_ID(func, bpf_lsm_socket_bind) BTF_ID(func, bpf_lsm_socket_connect) BTF_ID(func, bpf_lsm_socket_create) BTF_ID(func, bpf_lsm_socket_getpeername) BTF_ID(func, bpf_lsm_socket_getpeersec_dgram) BTF_ID(func, bpf_lsm_socket_getsockname) BTF_ID(func, bpf_lsm_socket_getsockopt) BTF_ID(func, bpf_lsm_socket_listen) BTF_ID(func, bpf_lsm_socket_post_create) BTF_ID(func, bpf_lsm_socket_recvmsg) BTF_ID(func, bpf_lsm_socket_sendmsg) BTF_ID(func, bpf_lsm_socket_shutdown) BTF_ID(func, bpf_lsm_socket_socketpair) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_syslog) BTF_ID(func, bpf_lsm_task_alloc) BTF_ID(func, bpf_lsm_current_getsecid_subj) BTF_ID(func, bpf_lsm_task_getsecid_obj) BTF_ID(func, bpf_lsm_task_prctl) BTF_ID(func, bpf_lsm_task_setscheduler) BTF_ID(func, bpf_lsm_task_to_inode) BTF_ID(func, bpf_lsm_userns_create) BTF_SET_END(sleepable_lsm_hooks) BTF_SET_START(untrusted_lsm_hooks) BTF_ID(func, bpf_lsm_bpf_map_free) BTF_ID(func, bpf_lsm_bpf_prog_free) BTF_ID(func, bpf_lsm_file_alloc_security) BTF_ID(func, bpf_lsm_file_free_security) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_sk_alloc_security) BTF_ID(func, bpf_lsm_sk_free_security) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_task_free) BTF_SET_END(untrusted_lsm_hooks) bool bpf_lsm_is_sleepable_hook(u32 btf_id)
param_type_changed
function_signature_change
BTF_ID
kernel/bpf/bpf_lsm.c
a2431c7eabcf9bd5a1e7a1f7ecded40fdda4a8c5
BTF_SET_START(sleepable_lsm_hooks) BTF_ID(func, bpf_lsm_bpf) BTF_ID(func, bpf_lsm_bpf_map) BTF_ID(func, bpf_lsm_bpf_map_alloc_security) BTF_ID(func, bpf_lsm_bpf_map_free_security) BTF_ID(func, bpf_lsm_bpf_prog) BTF_ID(func, bpf_lsm_bpf_prog_load) BTF_ID(func, bpf_lsm_bpf_prog_free) BTF_ID(func, bpf_lsm_bprm_check_security) BTF_ID(func, bpf_lsm_bprm_committed_creds) BTF_ID(func, bpf_lsm_bprm_committing_creds) BTF_ID(func, bpf_lsm_bprm_creds_for_exec) BTF_ID(func, bpf_lsm_bprm_creds_from_file) BTF_ID(func, bpf_lsm_capget) BTF_ID(func, bpf_lsm_capset) BTF_ID(func, bpf_lsm_cred_prepare) BTF_ID(func, bpf_lsm_file_ioctl) BTF_ID(func, bpf_lsm_file_lock) BTF_ID(func, bpf_lsm_file_open) BTF_ID(func, bpf_lsm_file_receive) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_inet_conn_established) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_inode_create) BTF_ID(func, bpf_lsm_inode_free_security) BTF_ID(func, bpf_lsm_inode_getattr) BTF_ID(func, bpf_lsm_inode_getxattr) BTF_ID(func, bpf_lsm_inode_mknod) BTF_ID(func, bpf_lsm_inode_need_killpriv) BTF_ID(func, bpf_lsm_inode_post_setxattr) BTF_ID(func, bpf_lsm_inode_readlink) BTF_ID(func, bpf_lsm_inode_rename) BTF_ID(func, bpf_lsm_inode_rmdir) BTF_ID(func, bpf_lsm_inode_setattr) BTF_ID(func, bpf_lsm_inode_setxattr) BTF_ID(func, bpf_lsm_inode_symlink) BTF_ID(func, bpf_lsm_inode_unlink) BTF_ID(func, bpf_lsm_kernel_module_request) BTF_ID(func, bpf_lsm_kernel_read_file) BTF_ID(func, bpf_lsm_kernfs_init_security) #ifdef CONFIG_SECURITY_PATH BTF_ID(func, bpf_lsm_path_unlink) BTF_ID(func, bpf_lsm_path_mkdir) BTF_ID(func, bpf_lsm_path_rmdir) BTF_ID(func, bpf_lsm_path_truncate) BTF_ID(func, bpf_lsm_path_symlink) BTF_ID(func, bpf_lsm_path_link) BTF_ID(func, bpf_lsm_path_rename) BTF_ID(func, bpf_lsm_path_chmod) BTF_ID(func, bpf_lsm_path_chown) #endif /* CONFIG_SECURITY_PATH */ #ifdef CONFIG_KEYS BTF_ID(func, bpf_lsm_key_free) #endif /* CONFIG_KEYS */ BTF_ID(func, bpf_lsm_mmap_file) BTF_ID(func, bpf_lsm_netlink_send) BTF_ID(func, bpf_lsm_path_notify) BTF_ID(func, bpf_lsm_release_secctx) BTF_ID(func, bpf_lsm_sb_alloc_security) BTF_ID(func, bpf_lsm_sb_eat_lsm_opts) BTF_ID(func, bpf_lsm_sb_kern_mount) BTF_ID(func, bpf_lsm_sb_mount) BTF_ID(func, bpf_lsm_sb_remount) BTF_ID(func, bpf_lsm_sb_set_mnt_opts) BTF_ID(func, bpf_lsm_sb_show_options) BTF_ID(func, bpf_lsm_sb_statfs) BTF_ID(func, bpf_lsm_sb_umount) BTF_ID(func, bpf_lsm_settime) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_socket_accept) BTF_ID(func, bpf_lsm_socket_bind) BTF_ID(func, bpf_lsm_socket_connect) BTF_ID(func, bpf_lsm_socket_create) BTF_ID(func, bpf_lsm_socket_getpeername) BTF_ID(func, bpf_lsm_socket_getpeersec_dgram) BTF_ID(func, bpf_lsm_socket_getsockname) BTF_ID(func, bpf_lsm_socket_getsockopt) BTF_ID(func, bpf_lsm_socket_listen) BTF_ID(func, bpf_lsm_socket_post_create) BTF_ID(func, bpf_lsm_socket_recvmsg) BTF_ID(func, bpf_lsm_socket_sendmsg) BTF_ID(func, bpf_lsm_socket_shutdown) BTF_ID(func, bpf_lsm_socket_socketpair) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_syslog) BTF_ID(func, bpf_lsm_task_alloc) BTF_ID(func, bpf_lsm_current_getsecid_subj) BTF_ID(func, bpf_lsm_task_getsecid_obj) BTF_ID(func, bpf_lsm_task_prctl) BTF_ID(func, bpf_lsm_task_setscheduler) BTF_ID(func, bpf_lsm_task_to_inode) BTF_ID(func, bpf_lsm_userns_create) BTF_SET_END(sleepable_lsm_hooks) BTF_SET_START(untrusted_lsm_hooks) BTF_ID(func, bpf_lsm_bpf_map_free_security) BTF_ID(func, bpf_lsm_bpf_prog_free) BTF_ID(func, bpf_lsm_file_alloc_security) BTF_ID(func, bpf_lsm_file_free_security) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_sk_alloc_security) BTF_ID(func, bpf_lsm_sk_free_security) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_task_free) BTF_SET_END(untrusted_lsm_hooks) bool bpf_lsm_is_sleepable_hook(u32 btf_id)
BTF_SET_START(sleepable_lsm_hooks) BTF_ID(func, bpf_lsm_bpf) BTF_ID(func, bpf_lsm_bpf_map) BTF_ID(func, bpf_lsm_bpf_map_create) BTF_ID(func, bpf_lsm_bpf_map_free) BTF_ID(func, bpf_lsm_bpf_prog) BTF_ID(func, bpf_lsm_bpf_prog_load) BTF_ID(func, bpf_lsm_bpf_prog_free) BTF_ID(func, bpf_lsm_bprm_check_security) BTF_ID(func, bpf_lsm_bprm_committed_creds) BTF_ID(func, bpf_lsm_bprm_committing_creds) BTF_ID(func, bpf_lsm_bprm_creds_for_exec) BTF_ID(func, bpf_lsm_bprm_creds_from_file) BTF_ID(func, bpf_lsm_capget) BTF_ID(func, bpf_lsm_capset) BTF_ID(func, bpf_lsm_cred_prepare) BTF_ID(func, bpf_lsm_file_ioctl) BTF_ID(func, bpf_lsm_file_lock) BTF_ID(func, bpf_lsm_file_open) BTF_ID(func, bpf_lsm_file_receive) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_inet_conn_established) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_inode_create) BTF_ID(func, bpf_lsm_inode_free_security) BTF_ID(func, bpf_lsm_inode_getattr) BTF_ID(func, bpf_lsm_inode_getxattr) BTF_ID(func, bpf_lsm_inode_mknod) BTF_ID(func, bpf_lsm_inode_need_killpriv) BTF_ID(func, bpf_lsm_inode_post_setxattr) BTF_ID(func, bpf_lsm_inode_readlink) BTF_ID(func, bpf_lsm_inode_rename) BTF_ID(func, bpf_lsm_inode_rmdir) BTF_ID(func, bpf_lsm_inode_setattr) BTF_ID(func, bpf_lsm_inode_setxattr) BTF_ID(func, bpf_lsm_inode_symlink) BTF_ID(func, bpf_lsm_inode_unlink) BTF_ID(func, bpf_lsm_kernel_module_request) BTF_ID(func, bpf_lsm_kernel_read_file) BTF_ID(func, bpf_lsm_kernfs_init_security) #ifdef CONFIG_SECURITY_PATH BTF_ID(func, bpf_lsm_path_unlink) BTF_ID(func, bpf_lsm_path_mkdir) BTF_ID(func, bpf_lsm_path_rmdir) BTF_ID(func, bpf_lsm_path_truncate) BTF_ID(func, bpf_lsm_path_symlink) BTF_ID(func, bpf_lsm_path_link) BTF_ID(func, bpf_lsm_path_rename) BTF_ID(func, bpf_lsm_path_chmod) BTF_ID(func, bpf_lsm_path_chown) #endif /* CONFIG_SECURITY_PATH */ #ifdef CONFIG_KEYS BTF_ID(func, bpf_lsm_key_free) #endif /* CONFIG_KEYS */ BTF_ID(func, bpf_lsm_mmap_file) BTF_ID(func, bpf_lsm_netlink_send) BTF_ID(func, bpf_lsm_path_notify) BTF_ID(func, bpf_lsm_release_secctx) BTF_ID(func, bpf_lsm_sb_alloc_security) BTF_ID(func, bpf_lsm_sb_eat_lsm_opts) BTF_ID(func, bpf_lsm_sb_kern_mount) BTF_ID(func, bpf_lsm_sb_mount) BTF_ID(func, bpf_lsm_sb_remount) BTF_ID(func, bpf_lsm_sb_set_mnt_opts) BTF_ID(func, bpf_lsm_sb_show_options) BTF_ID(func, bpf_lsm_sb_statfs) BTF_ID(func, bpf_lsm_sb_umount) BTF_ID(func, bpf_lsm_settime) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_socket_accept) BTF_ID(func, bpf_lsm_socket_bind) BTF_ID(func, bpf_lsm_socket_connect) BTF_ID(func, bpf_lsm_socket_create) BTF_ID(func, bpf_lsm_socket_getpeername) BTF_ID(func, bpf_lsm_socket_getpeersec_dgram) BTF_ID(func, bpf_lsm_socket_getsockname) BTF_ID(func, bpf_lsm_socket_getsockopt) BTF_ID(func, bpf_lsm_socket_listen) BTF_ID(func, bpf_lsm_socket_post_create) BTF_ID(func, bpf_lsm_socket_recvmsg) BTF_ID(func, bpf_lsm_socket_sendmsg) BTF_ID(func, bpf_lsm_socket_shutdown) BTF_ID(func, bpf_lsm_socket_socketpair) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_syslog) BTF_ID(func, bpf_lsm_task_alloc) BTF_ID(func, bpf_lsm_current_getsecid_subj) BTF_ID(func, bpf_lsm_task_getsecid_obj) BTF_ID(func, bpf_lsm_task_prctl) BTF_ID(func, bpf_lsm_task_setscheduler) BTF_ID(func, bpf_lsm_task_to_inode) BTF_ID(func, bpf_lsm_userns_create) BTF_SET_END(sleepable_lsm_hooks) BTF_SET_START(untrusted_lsm_hooks) BTF_ID(func, bpf_lsm_bpf_map_free) BTF_ID(func, bpf_lsm_bpf_prog_free) BTF_ID(func, bpf_lsm_file_alloc_security) BTF_ID(func, bpf_lsm_file_free_security) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_sk_alloc_security) BTF_ID(func, bpf_lsm_sk_free_security) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_task_free) BTF_SET_END(untrusted_lsm_hooks) bool bpf_lsm_is_sleepable_hook(u32 btf_id)
param_type_changed
function_signature_change
security_bpf_prog_free
include/linux/security.h
1b67772e4e3f16cd647b229cae95fc06d120be08
extern void security_bpf_prog_free(struct bpf_prog_aux *aux)
extern void security_bpf_prog_free(struct bpf_prog *prog)
param_type_changed
function_signature_change
BTF_ID
kernel/bpf/bpf_lsm.c
1b67772e4e3f16cd647b229cae95fc06d120be08
BTF_SET_START(sleepable_lsm_hooks) BTF_ID(func, bpf_lsm_bpf) BTF_ID(func, bpf_lsm_bpf_map) BTF_ID(func, bpf_lsm_bpf_map_alloc_security) BTF_ID(func, bpf_lsm_bpf_map_free_security) BTF_ID(func, bpf_lsm_bpf_prog) BTF_ID(func, bpf_lsm_bprm_check_security) BTF_ID(func, bpf_lsm_bprm_committed_creds) BTF_ID(func, bpf_lsm_bprm_committing_creds) BTF_ID(func, bpf_lsm_bprm_creds_for_exec) BTF_ID(func, bpf_lsm_bprm_creds_from_file) BTF_ID(func, bpf_lsm_capget) BTF_ID(func, bpf_lsm_capset) BTF_ID(func, bpf_lsm_cred_prepare) BTF_ID(func, bpf_lsm_file_ioctl) BTF_ID(func, bpf_lsm_file_lock) BTF_ID(func, bpf_lsm_file_open) BTF_ID(func, bpf_lsm_file_receive) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_inet_conn_established) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_inode_create) BTF_ID(func, bpf_lsm_inode_free_security) BTF_ID(func, bpf_lsm_inode_getattr) BTF_ID(func, bpf_lsm_inode_getxattr) BTF_ID(func, bpf_lsm_inode_mknod) BTF_ID(func, bpf_lsm_inode_need_killpriv) BTF_ID(func, bpf_lsm_inode_post_setxattr) BTF_ID(func, bpf_lsm_inode_readlink) BTF_ID(func, bpf_lsm_inode_rename) BTF_ID(func, bpf_lsm_inode_rmdir) BTF_ID(func, bpf_lsm_inode_setattr) BTF_ID(func, bpf_lsm_inode_setxattr) BTF_ID(func, bpf_lsm_inode_symlink) BTF_ID(func, bpf_lsm_inode_unlink) BTF_ID(func, bpf_lsm_kernel_module_request) BTF_ID(func, bpf_lsm_kernel_read_file) BTF_ID(func, bpf_lsm_kernfs_init_security) #ifdef CONFIG_SECURITY_PATH BTF_ID(func, bpf_lsm_path_unlink) BTF_ID(func, bpf_lsm_path_mkdir) BTF_ID(func, bpf_lsm_path_rmdir) BTF_ID(func, bpf_lsm_path_truncate) BTF_ID(func, bpf_lsm_path_symlink) BTF_ID(func, bpf_lsm_path_link) BTF_ID(func, bpf_lsm_path_rename) BTF_ID(func, bpf_lsm_path_chmod) BTF_ID(func, bpf_lsm_path_chown) #endif /* CONFIG_SECURITY_PATH */ #ifdef CONFIG_KEYS BTF_ID(func, bpf_lsm_key_free) #endif /* CONFIG_KEYS */ BTF_ID(func, bpf_lsm_mmap_file) BTF_ID(func, bpf_lsm_netlink_send) BTF_ID(func, bpf_lsm_path_notify) BTF_ID(func, bpf_lsm_release_secctx) BTF_ID(func, bpf_lsm_sb_alloc_security) BTF_ID(func, bpf_lsm_sb_eat_lsm_opts) BTF_ID(func, bpf_lsm_sb_kern_mount) BTF_ID(func, bpf_lsm_sb_mount) BTF_ID(func, bpf_lsm_sb_remount) BTF_ID(func, bpf_lsm_sb_set_mnt_opts) BTF_ID(func, bpf_lsm_sb_show_options) BTF_ID(func, bpf_lsm_sb_statfs) BTF_ID(func, bpf_lsm_sb_umount) BTF_ID(func, bpf_lsm_settime) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_socket_accept) BTF_ID(func, bpf_lsm_socket_bind) BTF_ID(func, bpf_lsm_socket_connect) BTF_ID(func, bpf_lsm_socket_create) BTF_ID(func, bpf_lsm_socket_getpeername) BTF_ID(func, bpf_lsm_socket_getpeersec_dgram) BTF_ID(func, bpf_lsm_socket_getsockname) BTF_ID(func, bpf_lsm_socket_getsockopt) BTF_ID(func, bpf_lsm_socket_listen) BTF_ID(func, bpf_lsm_socket_post_create) BTF_ID(func, bpf_lsm_socket_recvmsg) BTF_ID(func, bpf_lsm_socket_sendmsg) BTF_ID(func, bpf_lsm_socket_shutdown) BTF_ID(func, bpf_lsm_socket_socketpair) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_syslog) BTF_ID(func, bpf_lsm_task_alloc) BTF_ID(func, bpf_lsm_current_getsecid_subj) BTF_ID(func, bpf_lsm_task_getsecid_obj) BTF_ID(func, bpf_lsm_task_prctl) BTF_ID(func, bpf_lsm_task_setscheduler) BTF_ID(func, bpf_lsm_task_to_inode) BTF_ID(func, bpf_lsm_userns_create) BTF_SET_END(sleepable_lsm_hooks) BTF_SET_START(untrusted_lsm_hooks) BTF_ID(func, bpf_lsm_bpf_map_free_security) BTF_ID(func, bpf_lsm_bpf_prog_alloc_security) BTF_ID(func, bpf_lsm_bpf_prog_free_security) BTF_ID(func, bpf_lsm_file_alloc_security) BTF_ID(func, bpf_lsm_file_free_security) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_sk_alloc_security) BTF_ID(func, bpf_lsm_sk_free_security) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_task_free) BTF_SET_END(untrusted_lsm_hooks) bool bpf_lsm_is_sleepable_hook(u32 btf_id)
BTF_SET_START(sleepable_lsm_hooks) BTF_ID(func, bpf_lsm_bpf) BTF_ID(func, bpf_lsm_bpf_map) BTF_ID(func, bpf_lsm_bpf_map_alloc_security) BTF_ID(func, bpf_lsm_bpf_map_free_security) BTF_ID(func, bpf_lsm_bpf_prog) BTF_ID(func, bpf_lsm_bpf_prog_load) BTF_ID(func, bpf_lsm_bpf_prog_free) BTF_ID(func, bpf_lsm_bprm_check_security) BTF_ID(func, bpf_lsm_bprm_committed_creds) BTF_ID(func, bpf_lsm_bprm_committing_creds) BTF_ID(func, bpf_lsm_bprm_creds_for_exec) BTF_ID(func, bpf_lsm_bprm_creds_from_file) BTF_ID(func, bpf_lsm_capget) BTF_ID(func, bpf_lsm_capset) BTF_ID(func, bpf_lsm_cred_prepare) BTF_ID(func, bpf_lsm_file_ioctl) BTF_ID(func, bpf_lsm_file_lock) BTF_ID(func, bpf_lsm_file_open) BTF_ID(func, bpf_lsm_file_receive) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_inet_conn_established) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_inode_create) BTF_ID(func, bpf_lsm_inode_free_security) BTF_ID(func, bpf_lsm_inode_getattr) BTF_ID(func, bpf_lsm_inode_getxattr) BTF_ID(func, bpf_lsm_inode_mknod) BTF_ID(func, bpf_lsm_inode_need_killpriv) BTF_ID(func, bpf_lsm_inode_post_setxattr) BTF_ID(func, bpf_lsm_inode_readlink) BTF_ID(func, bpf_lsm_inode_rename) BTF_ID(func, bpf_lsm_inode_rmdir) BTF_ID(func, bpf_lsm_inode_setattr) BTF_ID(func, bpf_lsm_inode_setxattr) BTF_ID(func, bpf_lsm_inode_symlink) BTF_ID(func, bpf_lsm_inode_unlink) BTF_ID(func, bpf_lsm_kernel_module_request) BTF_ID(func, bpf_lsm_kernel_read_file) BTF_ID(func, bpf_lsm_kernfs_init_security) #ifdef CONFIG_SECURITY_PATH BTF_ID(func, bpf_lsm_path_unlink) BTF_ID(func, bpf_lsm_path_mkdir) BTF_ID(func, bpf_lsm_path_rmdir) BTF_ID(func, bpf_lsm_path_truncate) BTF_ID(func, bpf_lsm_path_symlink) BTF_ID(func, bpf_lsm_path_link) BTF_ID(func, bpf_lsm_path_rename) BTF_ID(func, bpf_lsm_path_chmod) BTF_ID(func, bpf_lsm_path_chown) #endif /* CONFIG_SECURITY_PATH */ #ifdef CONFIG_KEYS BTF_ID(func, bpf_lsm_key_free) #endif /* CONFIG_KEYS */ BTF_ID(func, bpf_lsm_mmap_file) BTF_ID(func, bpf_lsm_netlink_send) BTF_ID(func, bpf_lsm_path_notify) BTF_ID(func, bpf_lsm_release_secctx) BTF_ID(func, bpf_lsm_sb_alloc_security) BTF_ID(func, bpf_lsm_sb_eat_lsm_opts) BTF_ID(func, bpf_lsm_sb_kern_mount) BTF_ID(func, bpf_lsm_sb_mount) BTF_ID(func, bpf_lsm_sb_remount) BTF_ID(func, bpf_lsm_sb_set_mnt_opts) BTF_ID(func, bpf_lsm_sb_show_options) BTF_ID(func, bpf_lsm_sb_statfs) BTF_ID(func, bpf_lsm_sb_umount) BTF_ID(func, bpf_lsm_settime) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_socket_accept) BTF_ID(func, bpf_lsm_socket_bind) BTF_ID(func, bpf_lsm_socket_connect) BTF_ID(func, bpf_lsm_socket_create) BTF_ID(func, bpf_lsm_socket_getpeername) BTF_ID(func, bpf_lsm_socket_getpeersec_dgram) BTF_ID(func, bpf_lsm_socket_getsockname) BTF_ID(func, bpf_lsm_socket_getsockopt) BTF_ID(func, bpf_lsm_socket_listen) BTF_ID(func, bpf_lsm_socket_post_create) BTF_ID(func, bpf_lsm_socket_recvmsg) BTF_ID(func, bpf_lsm_socket_sendmsg) BTF_ID(func, bpf_lsm_socket_shutdown) BTF_ID(func, bpf_lsm_socket_socketpair) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_syslog) BTF_ID(func, bpf_lsm_task_alloc) BTF_ID(func, bpf_lsm_current_getsecid_subj) BTF_ID(func, bpf_lsm_task_getsecid_obj) BTF_ID(func, bpf_lsm_task_prctl) BTF_ID(func, bpf_lsm_task_setscheduler) BTF_ID(func, bpf_lsm_task_to_inode) BTF_ID(func, bpf_lsm_userns_create) BTF_SET_END(sleepable_lsm_hooks) BTF_SET_START(untrusted_lsm_hooks) BTF_ID(func, bpf_lsm_bpf_map_free_security) BTF_ID(func, bpf_lsm_bpf_prog_free) BTF_ID(func, bpf_lsm_file_alloc_security) BTF_ID(func, bpf_lsm_file_free_security) #ifdef CONFIG_SECURITY_NETWORK BTF_ID(func, bpf_lsm_sk_alloc_security) BTF_ID(func, bpf_lsm_sk_free_security) #endif /* CONFIG_SECURITY_NETWORK */ BTF_ID(func, bpf_lsm_task_free) BTF_SET_END(untrusted_lsm_hooks) bool bpf_lsm_is_sleepable_hook(u32 btf_id)
param_type_changed
function_signature_change
security_bpf_prog_free
security/security.c
1b67772e4e3f16cd647b229cae95fc06d120be08
void security_bpf_prog_free(struct bpf_prog_aux *aux)
void security_bpf_prog_free(struct bpf_prog *prog)
param_type_changed
function_signature_change
selinux_bpf_prog_free
security/selinux/hooks.c
1b67772e4e3f16cd647b229cae95fc06d120be08
static void selinux_bpf_prog_free(struct bpf_prog_aux *aux)
static void selinux_bpf_prog_free(struct bpf_prog *prog)
param_type_changed
function_signature_change
bpf_allow_ptr_leaks
include/linux/bpf.h
d79a3549754725bb90e58104417449edddf3da3d
static inline bool bpf_allow_ptr_leaks(void)
static inline bool bpf_allow_ptr_leaks(const struct bpf_token *token)
param_type_changed