/third_party/python/Tools/scripts/ |
H A D | mkreal.py | 5 # 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 D | ln.c | 74 rc = FLAG(s) ? symlink(try, new) : link(try, new); in ln_main()
|
/kernel/linux/linux-5.10/fs/squashfs/ |
H A D | squashfs_fs.h | 331 char symlink[]; member 400 struct squashfs_symlink_inode symlink; member
|
/kernel/linux/linux-6.6/fs/squashfs/ |
H A D | squashfs_fs.h | 331 char symlink[]; member 400 struct squashfs_symlink_inode symlink; member
|
/third_party/eudev/src/udev/ |
H A D | udev-node.c | 79 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 D | udev-watch.c | 114 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 D | test_tempfile.py | 1571 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 D | condition.c | 812 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 D | condition.c | 812 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 D | test_stat.rs | 5 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 D | user_syms.c | 81 EXPORT_SYMBOL_PROTO(symlink); variable
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | Makefile | 10 io.o direct.o pagelist.o read.o symlink.o unlink.o \
|
/kernel/linux/linux-5.10/fs/befs/ |
H A D | befs.h | 73 char symlink[BEFS_SYMLINK_LEN]; member
|
/kernel/linux/linux-5.10/fs/affs/ |
H A D | dir.c | 37 .symlink = affs_symlink,
|
/kernel/linux/linux-5.10/fs/sysfs/ |
H A D | symlink.c | 3 * 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 D | xdr.h | 140 struct nfsd_symlinkargs symlink; member
|
/kernel/linux/linux-6.6/fs/affs/ |
H A D | dir.c | 37 .symlink = affs_symlink,
|
/kernel/linux/linux-6.6/fs/befs/ |
H A D | befs.h | 73 char symlink[BEFS_SYMLINK_LEN]; member
|
/kernel/linux/linux-6.6/fs/sysfs/ |
H A D | symlink.c | 3 * 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 D | spo_test.sh | 56 $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 D | fs_symlink.c | 171 int symlink(const char *target, const char *path)
in symlink() function
|
/third_party/ltp/testcases/kernel/syscalls/mount/ |
H A D | mount07.c | 13 * 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 D | chdir01.c | 78 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 D | tools.c | 90 if (symlink(pathdat[i].contents, pathdat[i].name) == -1) { in setup_path() 91 sprintf(ebuf, "Can't symlink %s ", in setup_path()
|
H A D | tools64.c | 89 if (symlink(pathdat[i].contents, pathdat[i].name) == -1) { in setup_path() 90 sprintf(ebuf, "Can't symlink %s ", in setup_path()
|