qual é o "atual" na fonte do kernel do Linux
Estou estudando sobre kernel linux e tenho um problema
Eu vejo muitos arquivos de código-fonte do kernel Linux com arquivos current->. Então, qual é a "corrente"?
struct file *fget(unsigned int fd)
{
struct file *file;
struct files_struct *files = current->files;
rcu_read_lock();
file = fcheck_files(files, fd);
if (file) {
/* File object ref couldn't be taken */
if (file->f_mode & FMODE_PATH ||
!atomic_long_inc_not_zero(&file->f_count))
file = NULL;
}
rcu_read_unlock();
return file;
}