Home
last modified time | relevance | path

Searched full:symlink (Results 1 – 25 of 877) sorted by relevance

12345678910>>...36

/OK3568_Linux_fs/kernel/fs/crypto/
H A Dhooks.c171 * fscrypt_prepare_symlink() - prepare to create a possibly-encrypted symlink
172 * @dir: directory in which the symlink is being created
173 * @target: plaintext symlink target
175 * @max_len: space the filesystem has available to store the symlink target
176 * @disk_link: (out) the on-disk symlink target being prepared
178 * This function computes the size the symlink target will require on-disk,
180 * encrypted symlink may be longer than the original.
182 * Additionally, @disk_link->name is set to @target if the symlink will be
183 * unencrypted, but left NULL if the symlink will be encrypted. For encrypted
186 * filesystems need to know the size of the symlink target before creating the
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/udev/eudev/
H A Ddevfs-udev.rules8 BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%c{1} %c{2}"
17 KERNEL="tty[0-9]*", NAME="vc/%n", SYMLINK="%k"
18 KERNEL="ttyS[0-9]*", NAME="tts/%n", SYMLINK="%k"
37 KERNEL="i2c-[0-9]*", NAME="i2c/%n", SYMLINK="%k"
40 KERNEL="loop[0-9]*", NAME="loop/%n", SYMLINK="%k"
43 KERNEL="ram[0-9]*", NAME="rd/%n", SYMLINK="%k"
46 KERNEL="fb[0-9]*", NAME="fb/%n", SYMLINK="%k"
49 KERNEL="rtc", NAME="misc/%k", SYMLINK="%k"
50 KERNEL="psaux", NAME="misc/%k", SYMLINK="%k"
51 KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k"
[all …]
/OK3568_Linux_fs/kernel/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 to remove.
139 * sysfs_remove_link - remove symlink in object's directory.
[all …]
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0007-iso9660-Don-t-leak-memory-on-realloc-failures.patch22 int size = ctx->symlink ? grub_strlen (ctx->symlink) : 0;
30 - ctx->symlink = grub_realloc (ctx->symlink, sz);
31 - if (! ctx->symlink)
33 + new = grub_realloc (ctx->symlink, sz);
36 + grub_free (ctx->symlink);
37 + ctx->symlink = NULL;
40 + ctx->symlink = new;
42 grub_memcpy (ctx->symlink + size, part, len2);
43 ctx->symlink[size + len2] = 0;
47 if (ctx->symlink && !ctx->was_continue)
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/dpkg/dpkg/
H A D0001-Dpkg-Source-Archive-Prevent-directory-traversal-for-.patch13 the tarball, but it will follow symlinks when the symlink pathname
16 This means we can create an orig.tar where there's a symlink pointing
18 contains an entry within that symlink as if it was a directory, without
19 a directory entry for the symlink pathname itself, which will be
20 extracted following the symlink outside the source tree root.
252 + symlink File::Spec->abs2rel($outdir, $treedir), "$treedir/symlink-escape";
253 + symlink File::Spec->abs2rel("$outdir/nonexistent", $treedir), "$treedir/symlink-nonexistent";
254 + symlink "$treedir/file", "$treedir/symlink-within";
266 + make_path("$overdir/symlink-escape");
267 + test_touch("$overdir/symlink-escape/escaped-file", 'escaped');
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/
H A Dresolve_test.c153 { .name = "[beneath] symlink temporary jump outside $root", in test_openat2_opath_tests()
156 { .name = "[beneath] chained symlink temporary jump outside $root", in test_openat2_opath_tests()
175 { .name = "[beneath] relative symlink inside $root", in test_openat2_opath_tests()
178 { .name = "[beneath] chained-'..' relative symlink inside $root", in test_openat2_opath_tests()
181 { .name = "[beneath] absolute symlink component outside $root", in test_openat2_opath_tests()
184 { .name = "[beneath] absolute symlink target outside $root", in test_openat2_opath_tests()
197 { .name = "[beneath] tricky '..'-chained symlink outside $root", in test_openat2_opath_tests()
200 { .name = "[beneath] tricky absolute + '..'-chained symlink outside $root", in test_openat2_opath_tests()
215 { .name = "[in_root] absolute symlink to /root", in test_openat2_opath_tests()
227 { .name = "[in_root] relative symlink containing '..' above root", in test_openat2_opath_tests()
[all …]
/OK3568_Linux_fs/kernel/fs/kernfs/
H A Dsymlink.c3 * fs/kernfs/symlink.c - kernfs symlink implementation
17 * kernfs_create_link - create a symlink
18 * @parent: directory to create the symlink in
19 * @name: name of the symlink
20 * @target: target node for the symlink to point to
46 kn->symlink.target_kn = target; in kernfs_create_link()
47 kernfs_get(target); /* ref owned by symlink */ in kernfs_create_link()
116 struct kernfs_node *target = kn->symlink.target_kn; in kernfs_getlink()
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/coreutils/coreutils/
H A De8b56ebd536e82b15542a00c888109471936bfda.patch8 * tests/chmod/ignore-symlink.sh: A new test.
17 tests/chmod/ignore-symlink.sh | 31 +++++++++++++++++++++++++++++++
20 create mode 100755 tests/chmod/ignore-symlink.sh
45 diff --git a/tests/chmod/ignore-symlink.sh b/tests/chmod/ignore-symlink.sh
49 +++ b/tests/chmod/ignore-symlink.sh
52 +# Test for proper exit code of chmod on a processed symlink.
90 + tests/chmod/ignore-symlink.sh \
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dpath-lookup.rst787 permissions. Symlink handling requires a validated inode pointer too.
942 handling of symbolic links: the symlink stack, together with cache
948 The symlink stack
969 to concatenate them. As one symlink may easily refer to another,
977 If a symlink referred to itself either directly or through
978 intermediaries, then following the symlink can never complete
1005 lookup will never exceed that stack as, once the 40th symlink is
1028 sometimes include space for a symlink. The other common location is
1030 pathname in a symlink can be seen as the content of that symlink and
1035 construct the symlink content into that memory whenever it is needed.
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/unfs3/unfs3/
H A D0001-attr-fix-utime-for-symlink.patch4 Subject: [PATCH] attr: fix utime for symlink
7 symlink file because it only uses utime(), which will follow the
8 symlink. This will not cause an error if the symlink points to an
10 a rpm package, rpm tool will create the symlink first and try to
14 Making unfs3 support lutimes(), which can modify the symlink file
66 #define backend_symlink symlink
/OK3568_Linux_fs/buildroot/package/dropbear/
H A Ddropbear.service6 # If /etc/dropbear is a symlink to /var/run/dropbear, and
7 # - the filesystem is RO (i.e. we can not rm the symlink),
8 # create the directory pointed to by the symlink.
9 # - the filesystem is RW (i.e. we can rm the symlink),
10 # replace the symlink with an actual directory
H A DS50dropbear12 # If /etc/dropbear is a symlink to /var/run/dropbear, and
13 # - the filesystem is RO (i.e. we can not rm the symlink),
14 # create the directory pointed to by the symlink.
15 # - the filesystem is RW (i.e. we can rm the symlink),
16 # replace the symlink with an actual directory
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/musl/musl/
H A D0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch4 Subject: [PATCH] Make dynamic linker a relative symlink to libc
6 absolute symlink into $(libdir) fails to load in a cross build
48 symlink=
56 l) symlink=yes ;;
57 +r) symlink=yes; symlinkflags="$symlinkflags -r" ;;
64 if test "$symlink" ; then
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_symlink.c70 "symlink header does not match required off/len/owner (0x%x/Ox%x,0x%llx)", in xfs_readlink_bmap_ilocked()
119 xfs_alert(mp, "%s: inode (%llu) bad symlink length (%lld)", in xfs_readlink()
191 * The symlink will fit into the inode data fork? in xfs_symlink()
224 * Allocate an inode for the symlink. in xfs_symlink()
248 * If the symlink will fit into the inode, write it inline. in xfs_symlink()
306 * Create the directory entry for the symlink. in xfs_symlink()
316 * symlink transaction goes to disk before returning to in xfs_symlink()
357 * Free a symlink that has blocks associated with it.
361 * disk as a zero length symlink. The inode is on the unlinked list already, so
382 * We're freeing a symlink that has some in xfs_inactive_symlink_rmt()
[all …]
/OK3568_Linux_fs/buildroot/package/mender/
H A DS42mender7 # If /var/lib/mender is a symlink to /var/run/mender, and
8 # - the filesystem is RO (i.e. we can not rm the symlink),
9 # create the directory pointed to by the symlink.
10 # - the filesystem is RW (i.e. we can rm the symlink),
11 # replace the symlink with an actual directory
/OK3568_Linux_fs/buildroot/support/testing/tests/toolchain/
H A Dtest_external.py59 # Check the sysroot symlink
60 symlink = os.path.join(self.builddir, "staging", "armv4t")
61 self.assertTrue(os.path.exists(symlink))
62 self.assertEqual(os.readlink(symlink), "./")
124 # Check we have the sysroot symlink
125 symlink = os.path.join(self.builddir, "staging", "thumb2")
126 self.assertTrue(os.path.exists(symlink))
127 self.assertEqual(os.readlink(symlink), "./")
/OK3568_Linux_fs/debian/overlay-debug/usr/lib/udev/rules.d/
H A D61-partition-init.rules18 ENV{DEVTYPE}=="partition", ENV{PARTNAME}=="?*", SYMLINK+="disk/by-partlabel/$env{PARTNAME}", SYMLIN…
21 ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", SYMLINK+="block/by-name/$env{ID_PA…
24 ENV{DEVNAME}=="/dev/mtd*", ENV{DEVTYPE}=="mtd", ATTRS{name}=="?*", SYMLINK+="block/by-name/$attr{na…
27 ENV{DEVNAME}=="/dev/nvme*", ENV{DEVTYPE}=="disk", ATTRS{name}=="?*", SYMLINK+="block/by-name/$attr{…
/OK3568_Linux_fs/kernel/fs/udf/
H A Dsymlink.c2 * symlink.c
5 * Symlink handling routines for the OSTA-UDF(tm) filesystem.
48 * Symlink points to some place which should be agreed in udf_pc_to_char()
108 unsigned char *symlink; in udf_symlink_filler() local
125 symlink = iinfo->i_data + iinfo->i_lenEAttr; in udf_symlink_filler()
134 symlink = bh->b_data; in udf_symlink_filler()
137 err = udf_pc_to_char(inode->i_sb, symlink, inode->i_size, p, PAGE_SIZE); in udf_symlink_filler()
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Ducd9200.rst15 - http://focus.ti.com/lit/ds/symlink/ucd9220.pdf
16 - http://focus.ti.com/lit/ds/symlink/ucd9222.pdf
17 - http://focus.ti.com/lit/ds/symlink/ucd9224.pdf
18 - http://focus.ti.com/lit/ds/symlink/ucd9240.pdf
19 - http://focus.ti.com/lit/ds/symlink/ucd9244.pdf
20 - http://focus.ti.com/lit/ds/symlink/ucd9246.pdf
21 - http://focus.ti.com/lit/ds/symlink/ucd9248.pdf
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/oelib/
H A Dbuildhistory.py115 '/lib/libcap.so.2 changed symlink target from libcap.so.2.33 to libcap.so.2.34',
120 …'/usr/lib/libbtrfsutil.so changed symlink target from libbtrfsutil.so.1.1.1 to libbtrfsutil.so.1.2…
121 …'/usr/lib/libbtrfsutil.so.1 changed symlink target from libbtrfsutil.so.1.1.1 to libbtrfsutil.so.1…
123 '/usr/lib/libkmod.so changed symlink target from libkmod.so.2.3.4 to libkmod.so.2.3.5',
124 … '/usr/lib/libkmod.so.2 changed symlink target from libkmod.so.2.3.4 to libkmod.so.2.3.5',
126 …'/usr/lib/libpixman-1.so.0 changed symlink target from libpixman-1.so.0.38.4 to libpixman-1.so.0.4…
132 '/usr/sbin/rtcwake changed type from file to symlink',
134 '/usr/sbin/rtcwake changed symlink target from None to /usr/sbin/rtcwake.util-linux',
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Dg_zero.h44 * and create symlink/remove symlink.
59 * and create symlink/remove symlink.
/OK3568_Linux_fs/kernel/fs/squashfs/
H A Dsymlink.c8 * symlink.c
50 * Skip index bytes into symlink metadata. in squashfs_symlink_readpage()
56 ERROR("Unable to read symlink [%llx:%x]\n", in squashfs_symlink_readpage()
64 * Read length bytes from symlink metadata. Squashfs_read_metadata in squashfs_symlink_readpage()
73 ERROR("Unable to read symlink [%llx:%x]\n", in squashfs_symlink_readpage()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dlink.c35 * M-F Symlink Functions - Begin
174 /* it's not a symlink */ in couldbe_mf_symlink()
178 /* it's not a symlink */ in couldbe_mf_symlink()
240 if (bytes_read == 0) { /* not a symlink */ in query_mf_symlink()
262 /* it's not a symlink */ in check_mf_symlink()
278 if (bytes_read == 0) /* not a symlink */ in check_mf_symlink()
283 /* it's not a symlink */ in check_mf_symlink()
291 /* it is a symlink */ in check_mf_symlink()
333 /* it's not a symlink */ in cifs_query_mf_symlink()
427 /* it's not a symlink */ in smb3_query_mf_symlink()
[all …]
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-4.19/scripts/
H A Ddepmod.sh27 # numbers, so we cheat with a symlink here
39 symlink="$INSTALL_MOD_PATH/lib/modules/99.98.$KERNELRELEASE"
40 ln -s "$KERNELRELEASE" "$symlink"
52 rm -f "$symlink"
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-4.19/scripts/
H A Ddepmod.sh27 # numbers, so we cheat with a symlink here
39 symlink="$INSTALL_MOD_PATH/lib/modules/99.98.$KERNELRELEASE"
40 ln -s "$KERNELRELEASE" "$symlink"
52 rm -f "$symlink"

12345678910>>...36