From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 3/4] syscalls/chmod03: Convert to new API
Date: Tue, 10 Aug 2021 11:42:20 +0200 [thread overview]
Message-ID: <YRJJ/Dsw3ubuzMdO@yuki> (raw)
In-Reply-To: <20210810015250.21315-1-zhanglianjie@uniontech.com>
Hi!
Pushed with a minor changes, thanks.
> +} tcases[] = {
> + {bad_dir, ENAMETOOLONG, "chroot(pathname more than VFS_MAXNAMELEN)"},
> + {fname, ENOTDIR, "chroot(not a directory)"},
> + {nonexistent_dir, ENOENT, "chroot(path does not exists)"},
> + {(char *)-1, EFAULT, "chroot(a path pointing to an invalid address)"},
> + {symbolic_dir, ELOOP, "chroot(two symbolic directory who point to each other)"}
> };
I've shortened the descriptions here a bit.
> /*
> * create two symbolic directory who point to each other to
> * test ELOOP.
> */
And also remove this comment that have been commenting the obvious.
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2021-08-10 9:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-10 1:52 [LTP] [PATCH 3/4] syscalls/chmod03: Convert to new API zhanglianjie
2021-08-10 9:42 ` Cyril Hrubis [this message]
2021-08-10 9:43 ` Cyril Hrubis
-- strict thread matches above, loose matches on Subject: below --
2021-08-06 7:24 zhanglianjie
2021-08-10 11:20 ` Cyril Hrubis
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=YRJJ/Dsw3ubuzMdO@yuki \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/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