1*49f550eaSNamhyung Kim #define _GNU_SOURCE 2*49f550eaSNamhyung Kim #include <sys/types.h> 3*49f550eaSNamhyung Kim #include <sys/stat.h> 4*49f550eaSNamhyung Kim #include <fcntl.h> 5*49f550eaSNamhyung Kim #include <inttypes.h> 6*49f550eaSNamhyung Kim main(void)7*49f550eaSNamhyung Kimint main(void) 8*49f550eaSNamhyung Kim { 9*49f550eaSNamhyung Kim struct { 10*49f550eaSNamhyung Kim struct file_handle fh; 11*49f550eaSNamhyung Kim uint64_t cgroup_id; 12*49f550eaSNamhyung Kim } handle; 13*49f550eaSNamhyung Kim int mount_id; 14*49f550eaSNamhyung Kim 15*49f550eaSNamhyung Kim name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0); 16*49f550eaSNamhyung Kim return 0; 17*49f550eaSNamhyung Kim } 18