mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tony Luck <tony.luck@intel.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org, torvalds@osdl.org,
	kenneth.w.chen@intel.com
Subject: Re: [PATCH 1/3] NEW VERSION: *at syscalls: Implementation
Date: Mon, 6 Feb 2006 12:26:11 -0800	[thread overview]
Message-ID: <12c511ca0602061226pf3bf095jcc570754656c5437@mail.gmail.com> (raw)
In-Reply-To: <200512171742.jBHHgAKh018491@devserv.devel.redhat.com>

Does sys_mkdirat() work?  I applied Ken's patch to hook up the calls for
ia64, but when I tried:

long sys_mkdirat(int dfd, const char *pathname, int mode)
{
        return syscall(__NR_mknodat, dfd, pathname, mode);
}

...

   sys_mkdirat(AT_FDCWD, "xxx", 0777);

I ended up with a regular file named "xxx", not a directory.
$ ls -l xxx
-rwsrwxr-x  1 aegl aegl 0 Feb  6 12:23 xxx

Hmmm, setuid too!

-Tony

  reply	other threads:[~2006-02-06 20:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-17 17:42 Ulrich Drepper
2006-02-06 20:26 ` Tony Luck [this message]
2006-02-06 21:22   ` Tony Luck
2006-02-06 21:32     ` Ulrich Drepper
2006-02-06 21:31   ` Tony Luck

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=12c511ca0602061226pf3bf095jcc570754656c5437@mail.gmail.com \
    --to=tony.luck@intel.com \
    --cc=akpm@osdl.org \
    --cc=drepper@redhat.com \
    --cc=kenneth.w.chen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /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®