mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Getting file attributes
@ 2002-04-10 23:11 Niki Rahimi
  2002-04-10 23:26 ` Chris Wright
  0 siblings, 1 reply; 3+ messages in thread
From: Niki Rahimi @ 2002-04-10 23:11 UTC (permalink / raw)
  To: linux-kernel

Hi All,
      I have been working on finding a system call that will retrieve the
current file's attributes, especially the file owner and permissions. have
seen VOP_GETATTR()  in OpenBSD, which returns such information in a
structure. Is there anything equivalent to this on the Linux kernel?
       I've been searching through the kernel code for something equivalent
but my paths have lead me nowhere.

Thanks,
Niki

Niki A. Rahimi
LTC Security Development
narahimi@us.ibm.com


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

* Re: Getting file attributes
  2002-04-10 23:11 Getting file attributes Niki Rahimi
@ 2002-04-10 23:26 ` Chris Wright
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Wright @ 2002-04-10 23:26 UTC (permalink / raw)
  To: Niki Rahimi; +Cc: linux-kernel

* Niki Rahimi (narahimi@us.ibm.com) wrote:
> Hi All,
>       I have been working on finding a system call that will retrieve the
> current file's attributes, especially the file owner and permissions. have
> seen VOP_GETATTR()  in OpenBSD, which returns such information in a
> structure. Is there anything equivalent to this on the Linux kernel?
>        I've been searching through the kernel code for something equivalent
> but my paths have lead me nowhere.

does stat(2) have what you're lookig for??

cheers,
-chris

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

* Re: Getting file attributes
@ 2002-04-11 16:36 Niki Rahimi
  0 siblings, 0 replies; 3+ messages in thread
From: Niki Rahimi @ 2002-04-11 16:36 UTC (permalink / raw)
  To: linux-kernel

Kurt Wall wrote:
>fstat(2), perchance?

Chris Wright wrote:
>does stat(2) have what you're lookig for??

Brilliant. Thanks much guys!!

Niki A. Rahimi
LTC Security Development
narahimi@us.ibm.com


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

end of thread, other threads:[~2002-04-11 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-10 23:11 Getting file attributes Niki Rahimi
2002-04-10 23:26 ` Chris Wright
2002-04-11 16:36 Niki Rahimi

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®