MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / setxattr

Method setxattr

fs/extfs/extfs.cpp:1415–1417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1413 DO_EXT2FS(do_ext2fs_listxattr(fs, path, list, size, 0));
1414 }
1415 int setxattr(const char *path, const char *name, const void *value, size_t size, int flags) override {
1416 DO_EXT2FS(do_ext2fs_setxattr(fs, path, name, value, size, flags, 1));
1417 }
1418 int lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags) override {
1419 DO_EXT2FS(do_ext2fs_setxattr(fs, path, name, value, size, flags, 0));
1420 }

Callers 1

setxattrFunction · 0.45

Calls 1

do_ext2fs_setxattrFunction · 0.85

Tested by 1

setxattrFunction · 0.36