mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wright <chris@wirex.com>
To: Niki Rahimi <narahimi@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Getting file attributes
Date: Wed, 10 Apr 2002 16:26:04 -0700	[thread overview]
Message-ID: <20020410162604.B1550@figure1.int.wirex.com> (raw)
In-Reply-To: <OF201A5533.4F892774-ON85256B97.007A3CEE@raleigh.ibm.com>

* 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

  reply	other threads:[~2002-04-10 23:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-10 23:11 Niki Rahimi
2002-04-10 23:26 ` Chris Wright [this message]
2002-04-11 16:36 Niki Rahimi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020410162604.B1550@figure1.int.wirex.com \
    --to=chris@wirex.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=narahimi@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®