516 int get_unused_fd_flags(unsigned flags) 517 { 518 return __alloc_fd(current->files, 0, rlimit(RLIMIT_NOFILE), flags); //current 전역변수 519 }