mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* sys_geteuid() quesion
@ 2010-05-28 12:07 Rumen Bogdanovski
  2010-05-28 12:44 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Rumen Bogdanovski @ 2010-05-28 12:07 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-28 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-28 12:07 sys_geteuid() quesion Rumen Bogdanovski
2010-05-28 12:44 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®