Home
last modified time | relevance | path

Searched refs:symlink (Results 101 - 125 of 382) sorted by relevance

12345678910>>...16

/third_party/python/Tools/scripts/
H A Dmkreal.py5 # turn a symlink to a directory into a real directory
20 linkto = os.readlink(name) # Make sure again it's a symlink
42 os.symlink(join(linkto, filename), join(name, filename))
55 print(progname+':', name+':', 'not a symlink')
/third_party/toybox/toys/posix/
H A Dln.c74 rc = FLAG(s) ? symlink(try, new) : link(try, new); in ln_main()
/kernel/linux/linux-5.10/fs/squashfs/
H A Dsquashfs_fs.h331 char symlink[]; member
400 struct squashfs_symlink_inode symlink; member
/kernel/linux/linux-6.6/fs/squashfs/
H A Dsquashfs_fs.h331 char symlink[]; member
400 struct squashfs_symlink_inode symlink; member
/third_party/eudev/src/udev/
H A Dudev-node.c79 log_debug("preserve already existing symlink '%s' to '%s'", slink, target); in node_symlink()
87 log_debug("creating symlink '%s' to '%s'", slink, target); in node_symlink()
93 err = symlink(target, slink); in node_symlink()
110 err = symlink(target, slink_tmp); in node_symlink()
116 log_error_errno(errno, "symlink '%s' '%s' failed: %m", target, slink_tmp); in node_symlink()
H A Dudev-watch.c114 r = symlink(udev_device_get_id_filename(dev), filename); in udev_watch_begin()
116 log_error_errno(errno, "Failed to create symlink %s: %m", filename); in udev_watch_begin()
/third_party/python/Lib/test/
H A Dtest_tempfile.py1571 os.symlink(d2.name, os.path.join(d1.name, "foo"))
1573 # This call to cleanup() should not follow the "foo" symlink
1579 "Directory pointed to by a symlink was deleted")
1581 "Contents of the directory pointed to by a symlink "
1598 symlink = os.path.join(d1.name, 'symlink')
1599 os.symlink(target, symlink,
1602 os.chmod(symlink, mode, follow_symlinks=False)
1606 os.chmod(symlink, mod
[all...]
/kernel/linux/linux-5.10/security/tomoyo/
H A Dcondition.c812 struct tomoyo_path_info *symlink; in tomoyo_condition() local
818 symlink = obj ? obj->symlink_target : NULL; in tomoyo_condition()
819 if (!symlink || in tomoyo_condition()
820 !tomoyo_compare_name_union(symlink, ptr) in tomoyo_condition()
/kernel/linux/linux-6.6/security/tomoyo/
H A Dcondition.c812 struct tomoyo_path_info *symlink; in tomoyo_condition() local
818 symlink = obj ? obj->symlink_target : NULL; in tomoyo_condition()
819 if (!symlink || in tomoyo_condition()
820 !tomoyo_compare_name_union(symlink, ptr) in tomoyo_condition()
/third_party/rust/crates/nix/test/
H A Dtest_stat.rs5 use std::os::unix::fs::symlink;
134 symlink("bar.txt", &linkname).unwrap(); in test_stat_fstat_lstat()
246 let fullpath = tempdir.path().join("symlink"); in test_lutimes()
248 symlink(&target, &fullpath).unwrap(); in test_lutimes()
259 "atime of symlink target was unexpectedly modified" in test_lutimes()
264 "mtime of symlink target was unexpectedly modified" in test_lutimes()
/kernel/linux/linux-5.10/arch/um/os-Linux/
H A Duser_syms.c81 EXPORT_SYMBOL_PROTO(symlink); variable
/kernel/linux/linux-5.10/fs/nfs/
H A DMakefile10 io.o direct.o pagelist.o read.o symlink.o unlink.o \
/kernel/linux/linux-5.10/fs/befs/
H A Dbefs.h73 char symlink[BEFS_SYMLINK_LEN]; member
/kernel/linux/linux-5.10/fs/affs/
H A Ddir.c37 .symlink = affs_symlink,
/kernel/linux/linux-5.10/fs/sysfs/
H A Dsymlink.c3 * fs/sysfs/symlink.c - sysfs symlink implementation
56 * sysfs_create_link_sd - create symlink to a given object.
59 * @name: name of the symlink.
84 * sysfs_create_link - create symlink between two objects.
87 * @name: name of the symlink.
97 * sysfs_create_link_nowarn - create symlink between two objects.
100 * @name: name of the symlink.
113 * sysfs_delete_link - remove symlink in object's directory.
116 * @name: name of the symlink t
[all...]
/kernel/linux/linux-5.10/fs/nfsd/
H A Dxdr.h140 struct nfsd_symlinkargs symlink; member
/kernel/linux/linux-6.6/fs/affs/
H A Ddir.c37 .symlink = affs_symlink,
/kernel/linux/linux-6.6/fs/befs/
H A Dbefs.h73 char symlink[BEFS_SYMLINK_LEN]; member
/kernel/linux/linux-6.6/fs/sysfs/
H A Dsymlink.c3 * fs/sysfs/symlink.c - sysfs symlink implementation
56 * sysfs_create_link_sd - create symlink to a given object.
59 * @name: name of the symlink.
84 * sysfs_create_link - create symlink between two objects.
87 * @name: name of the symlink.
97 * sysfs_create_link_nowarn - create symlink between two objects.
100 * @name: name of the symlink.
113 * sysfs_delete_link - remove symlink in object's directory.
116 * @name: name of the symlink t
[all...]
/third_party/f2fs-tools/scripts/
H A Dspo_test.sh56 $F2FS_DIR/stress_test/fsstress/fsstress -z -f link=0 -f mkdir=3 -f mknod=3 -f rmdir=2 -f symlink=3 -f truncate=4 -f write=10 -f creat=10 -f unlink=5 -f rename=5 -f fsync=10 -p 10 -n 10000 -l 0 -d $MNT &
/third_party/NuttX/fs/vfs/
H A Dfs_symlink.c171 int symlink(const char *target, const char *path) in symlink() function
/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount07.c13 * It tests to make sure that symlink traversal fails with ELOOP when
96 TST_EXP_PASS(symlink(test_file, temp_link_file), "symlink(%s, %s)", in test_cycle_link()
/third_party/ltp/testcases/kernel/syscalls/chdir/
H A Dchdir01.c78 TEST(symlink(LINK_NAME1, LINK_NAME2)); in setup()
122 tst_res(TCONF, "Skipping symlink loop test, not supported"); in run()
/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dtools.c90 if (symlink(pathdat[i].contents, pathdat[i].name) == -1) { in setup_path()
91 sprintf(ebuf, "Can't symlink %s ", in setup_path()
H A Dtools64.c89 if (symlink(pathdat[i].contents, pathdat[i].name) == -1) { in setup_path()
90 sprintf(ebuf, "Can't symlink %s ", in setup_path()

Completed in 14 milliseconds

12345678910>>...16