|
@@ -20,8 +20,6 @@
|
|
|
#include <linux/user_namespace.h>
|
|
|
#include <linux/proc_ns.h>
|
|
|
|
|
|
-#include <trace/hooks/user.h>
|
|
|
-
|
|
|
/*
|
|
|
* userns count is 1 for root user, 1 for init_uts_ns,
|
|
|
* and 1 for... ?
|
|
@@ -141,7 +139,6 @@ static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent)
|
|
|
static void free_user(struct user_struct *up, unsigned long flags)
|
|
|
__releases(&uidhash_lock)
|
|
|
{
|
|
|
- trace_android_vh_free_user(up);
|
|
|
uid_hash_remove(up);
|
|
|
spin_unlock_irqrestore(&uidhash_lock, flags);
|
|
|
kmem_cache_free(uid_cachep, up);
|
|
@@ -193,7 +190,6 @@ struct user_struct *alloc_uid(kuid_t uid)
|
|
|
|
|
|
new->uid = uid;
|
|
|
refcount_set(&new->__count, 1);
|
|
|
- trace_android_vh_alloc_uid(new);
|
|
|
ratelimit_state_init(&new->ratelimit, HZ, 100);
|
|
|
ratelimit_set_flags(&new->ratelimit, RATELIMIT_MSG_ON_RELEASE);
|
|
|
|