2019-01-20から1日間の記事一覧
file_struct データ構造体は、プロセスがオープンしたファイルについて 記述するものである。 定義はinclude/linux/sched.hで定義されている。 struct files_struct { int count; fd_set close_on_exec; fd_set open_fds; struct file * fd[NR_OPEN]; }; プ…
file_struct データ構造体は、プロセスがオープンしたファイルについて 記述するものである。 定義はinclude/linux/sched.hで定義されている。 struct files_struct { int count; fd_set close_on_exec; fd_set open_fds; struct file * fd[NR_OPEN]; }; プ…