Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions fs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,7 @@ struct file *file_close_fd(unsigned int fd)

return file;
}
EXPORT_SYMBOL_GPL(file_close_fd);

void do_close_on_exec(struct files_struct *files)
{
Expand Down
1 change: 1 addition & 0 deletions ipc/msgutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ struct ipc_namespace init_ipc_ns = {
#endif
.ns.ns_type = ns_common_type(&init_ipc_ns),
};
EXPORT_SYMBOL_GPL(init_ipc_ns);

struct msg_msgseg {
struct msg_msgseg *next;
Expand Down
1 change: 1 addition & 0 deletions ipc/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ void put_ipc_ns(struct ipc_namespace *ns)
schedule_work(&free_ipc_work);
}
}
EXPORT_SYMBOL_GPL(put_ipc_ns);

static struct ns_common *ipcns_get(struct task_struct *task)
{
Expand Down
1 change: 1 addition & 0 deletions kernel/sched/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ int can_nice(const struct task_struct *p, const int nice)
{
return is_nice_reduction(p, nice) || capable(CAP_SYS_NICE);
}
EXPORT_SYMBOL_GPL(can_nice);

#ifdef __ARCH_WANT_SYS_NICE

Expand Down
1 change: 1 addition & 0 deletions kernel/sched/wait.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ void __wake_up_pollfree(struct wait_queue_head *wq_head)
/* POLLFREE must have cleared the queue. */
WARN_ON_ONCE(waitqueue_active(wq_head));
}
EXPORT_SYMBOL_GPL(__wake_up_pollfree);

/*
* Note: we use "set_current_state()" _after_ the wait-queue add,
Expand Down
1 change: 1 addition & 0 deletions kernel/task_work.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ int task_work_add(struct task_struct *task, struct callback_head *work,

return 0;
}
EXPORT_SYMBOL_GPL(task_work_add);

/**
* task_work_cancel_match - cancel a pending work added by task_work_add()
Expand Down
2 changes: 2 additions & 0 deletions mm/list_lru.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid,
unlock_list_lru(l, false);
return false;
}
EXPORT_SYMBOL_GPL(list_lru_add);

bool list_lru_add_obj(struct list_lru *lru, struct list_head *item)
{
Expand Down Expand Up @@ -216,6 +217,7 @@ bool list_lru_del(struct list_lru *lru, struct list_head *item, int nid,
unlock_list_lru(l, false);
return false;
}
EXPORT_SYMBOL_GPL(list_lru_del);

bool list_lru_del_obj(struct list_lru *lru, struct list_head *item)
{
Expand Down
1 change: 1 addition & 0 deletions mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -2170,6 +2170,7 @@ void zap_page_range_single(struct vm_area_struct *vma, unsigned long address,
zap_page_range_single_batched(&tlb, vma, address, size, details);
tlb_finish_mmu(&tlb);
}
EXPORT_SYMBOL_GPL(zap_page_range_single);

/**
* zap_vma_ptes - remove ptes mapping the vma
Expand Down
1 change: 1 addition & 0 deletions mm/mmap_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm,
count_vm_vma_lock_event(VMA_LOCK_ABORT);
return NULL;
}
EXPORT_SYMBOL_GPL(lock_vma_under_rcu);

static struct vm_area_struct *lock_next_vma_under_mmap_lock(struct mm_struct *mm,
struct vma_iterator *vmi,
Expand Down
4 changes: 4 additions & 0 deletions security/security.c
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,7 @@ int security_binder_set_context_mgr(const struct cred *mgr)
{
return call_int_hook(binder_set_context_mgr, mgr);
}
EXPORT_SYMBOL_GPL(security_binder_set_context_mgr);

/**
* security_binder_transaction() - Check if a binder transaction is allowed
Expand All @@ -1050,6 +1051,7 @@ int security_binder_transaction(const struct cred *from,
{
return call_int_hook(binder_transaction, from, to);
}
EXPORT_SYMBOL_GPL(security_binder_transaction);

/**
* security_binder_transfer_binder() - Check if a binder transfer is allowed
Expand All @@ -1065,6 +1067,7 @@ int security_binder_transfer_binder(const struct cred *from,
{
return call_int_hook(binder_transfer_binder, from, to);
}
EXPORT_SYMBOL_GPL(security_binder_transfer_binder);

/**
* security_binder_transfer_file() - Check if a binder file xfer is allowed
Expand All @@ -1081,6 +1084,7 @@ int security_binder_transfer_file(const struct cred *from,
{
return call_int_hook(binder_transfer_file, from, to, file);
}
EXPORT_SYMBOL_GPL(security_binder_transfer_file);

/**
* security_ptrace_access_check() - Check if tracing is allowed
Expand Down