Home
last modified time | relevance | path

Searched refs:symlink_target (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/security/tomoyo/
H A Dfile.c812 struct tomoyo_path_info symlink_target; in tomoyo_path_perm() local
831 symlink_target.name = tomoyo_encode(target); in tomoyo_path_perm()
832 if (!symlink_target.name) in tomoyo_path_perm()
834 tomoyo_fill_path_info(&symlink_target); in tomoyo_path_perm()
835 obj.symlink_target = &symlink_target; in tomoyo_path_perm()
840 kfree(symlink_target.name); in tomoyo_path_perm()
H A Daudit.c269 } else if (r->obj && r->obj->symlink_target) { in tomoyo_init_log()
270 symlink = r->obj->symlink_target->name; in tomoyo_init_log()
H A Dcommon.h603 struct tomoyo_path_info *symlink_target; member
H A Dcondition.c818 symlink = obj ? obj->symlink_target : NULL; in tomoyo_condition()
/openbmc/linux/fs/smb/client/
H A Dreparse.c48 .symlink_target = sym, in smb2_create_reparse_symlink()
506 data->symlink_target = cifs_strndup_from_utf16(buf->DataBuffer, in parse_reparse_posix()
509 if (!data->symlink_target) in parse_reparse_posix()
512 __func__, data->symlink_target); in parse_reparse_posix()
622 return smb2_parse_native_symlink(&data->symlink_target, in parse_reparse_symlink()
H A Dsmb2inode.c644 if (rc == 0 && cfile && cfile->symlink_target) { in smb2_compound_op()
645 idata->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL); in smb2_compound_op()
646 if (!idata->symlink_target) in smb2_compound_op()
667 if (rc == 0 && cfile && cfile->symlink_target) { in smb2_compound_op()
668 idata->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL); in smb2_compound_op()
669 if (!idata->symlink_target) in smb2_compound_op()
846 &data->symlink_target); in parse_create_response()
H A Dinode.c216 kfree(cifs_i->symlink_target); in cifs_fattr_to_inode()
217 cifs_i->symlink_target = fattr->cf_symlink_target; in cifs_fattr_to_inode()
391 if (cfile->symlink_target) { in cifs_get_file_info_unix()
392 fattr.cf_symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL); in cifs_get_file_info_unix()
795 if (likely(data->symlink_target)) in smb311_posix_info_to_fattr()
796 fattr->cf_eof = strnlen(data->symlink_target, PATH_MAX); in smb311_posix_info_to_fattr()
797 fattr->cf_symlink_target = data->symlink_target; in smb311_posix_info_to_fattr()
798 data->symlink_target = NULL; in smb311_posix_info_to_fattr()
876 if (likely(data->symlink_target)) in cifs_open_info_to_fattr()
877 fattr->cf_eof = strnlen(data->symlink_target, PATH_MAX); in cifs_open_info_to_fattr()
[all …]
H A Dsmb1ops.c629 if (cfile->symlink_target) { in cifs_query_file_info()
630 data->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL); in cifs_query_file_info()
631 if (!data->symlink_target) in cifs_query_file_info()
H A Dcifsfs.c414 cifs_inode->symlink_target = NULL; in cifs_alloc_inode()
434 kfree(cinode->symlink_target); in cifs_free_inode()
1194 if (likely(CIFS_I(inode)->symlink_target)) { in cifs_get_link()
1195 strscpy(target_path, CIFS_I(inode)->symlink_target, PATH_MAX); in cifs_get_link()
H A Dsmb2file.c128 &data->symlink_target); in smb2_open_file()
H A Dcifsglob.h233 char *symlink_target; member
1459 char *symlink_target; member
1607 char *symlink_target; member
H A Dcifsproto.h194 const char *symlink_target);
777 kfree(data->symlink_target); in cifs_free_open_info()
H A Dfile.c466 const char *symlink_target) in cifs_new_fileinfo() argument
486 if (symlink_target) { in cifs_new_fileinfo()
487 cfile->symlink_target = kstrdup(symlink_target, GFP_KERNEL); in cifs_new_fileinfo()
488 if (!cfile->symlink_target) { in cifs_new_fileinfo()
589 kfree(cifs_file->symlink_target); in cifsFileInfo_put_final()
870 cfile = cifs_new_fileinfo(&fid, file, tlink, oplock, data.symlink_target); in cifs_open()
H A Ddir.c528 file_info = cifs_new_fileinfo(&fid, file, tlink, oplock, buf.symlink_target);
H A Dsmb2ops.c962 if (cfile->symlink_target) { in smb2_query_file_info()
963 data->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL); in smb2_query_file_info()
964 if (!data->symlink_target) in smb2_query_file_info()
/openbmc/openbmc/poky/meta/classes/
H A Dgo-vendor.bbclass202 symlink_target = os.path.join(source_dir, *['src', go_import, replaced_path])
205 os.symlink(symlink_target, symlink_name)