[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTikkju0MNjQwDs-n9EszNTyIP2uE7kcepjVhVBmQ@mail.gmail.com>
Date: Fri, 28 May 2010 15:07:21 +0300
From: Rumen Bogdanovski <rbogdanovski@...il.com>
To: linux-kernel@...r.kernel.org
Subject: sys_geteuid() quesion
Hi all,
I have a simple question:
I need to make a kernel module for a specific character device.
But I need to know which uid is reading and writing because the
data written and data read should be user specific. So will
sys_geteuid() do the job for me. Or simply how can I a
module know who is calling its read or write?
Thank you in advance.
Rumen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists