Displaying 4 results from an estimated 4 matches for "sys_symlink".
Did you mean:
is_symlink
2006 Mar 21
2
[PATCH] initramfs: CPIO unpacking fix
...ys_unlink(collected);
if (maybe_link() == 0) {
sys_mknod(collected, mode, rdev);
sys_chown(collected, uid, gid);
@@ -291,6 +293,7 @@ static int __init do_copy(void)
static int __init do_symlink(void)
{
collected[N_ALIGN(name_len) + body_len] = '\0';
+ sys_unlink(collected);
sys_symlink(collected + N_ALIGN(name_len), collected);
sys_lchown(collected, uid, gid);
state = SkipIt;
2006 Feb 21
1
[PATCH] initramfs: multiple CPIO unpacking fix
...ys_unlink(collected);
if (maybe_link() == 0) {
sys_mknod(collected, mode, rdev);
sys_chown(collected, uid, gid);
@@ -291,6 +293,7 @@ static int __init do_copy(void)
static int __init do_symlink(void)
{
collected[N_ALIGN(name_len) + body_len] = '\0';
+ sys_unlink(collected);
sys_symlink(collected + N_ALIGN(name_len), collected);
sys_lchown(collected, uid, gid);
state = SkipIt;
2004 Dec 03
2
INITRAMFS: allow no trailer
...initdata int wfd;
static int __init do_name(void)
{
state = SkipIt;
- next_state = Start;
+ next_state = Reset;
if (strcmp(collected, "TRAILER!!!") == 0) {
free_hash();
- next_state = Reset;
return 0;
}
if (dry_run)
@@ -295,7 +294,7 @@ static int __init do_symlink(void)
sys_symlink(collected + N_ALIGN(name_len), collected);
sys_lchown(collected, uid, gid);
state = SkipIt;
- next_state = Start;
+ next_state = Reset;
return 0;
}
@@ -331,6 +330,10 @@ static void __init flush_buffer(char *bu
buf += written;
len -= written;
state = Start;
+ } else if (c == 0)...
2013 Jun 10
1
btrfs-cleaner Blocked on xfstests 068
...fff8110e5dd>] kern_path_create+0x6d/0x13f
[ 413.409157] [<ffffffff810f7fdc>] ? kmem_cache_alloc+0x31/0xf8
[ 413.409157] [<ffffffff8110cb01>] ? getname_flags+0x74/0x158
[ 413.409157] [<ffffffff8110e6ee>] user_path_create+0x3f/0x57
[ 413.409157] [<ffffffff81110a38>] SyS_symlinkat+0x4a/0xc0
[ 413.409157] [<ffffffff81001f1b>] ? do_notify_resume+0x5a/0x61
[ 413.409157] [<ffffffff81110ac4>] SyS_symlink+0x16/0x18
[ 413.409157] [<ffffffff8161fdc6>] system_call_fastpath+0x1a/0x1f
[ 413.409157] fsstress D ffff88007827c308 0 4731 4729 0x00000...