KernelNewbies
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Kernel Hacking

  • Frontpage

  • Kernel Hacking

  • Kernel Documentation

  • Kernel Glossary

  • FAQ

  • Found a bug?

  • Kernel Changelog

  • Upstream Merge Guide

Projects

  • KernelJanitors

  • KernelMentors

  • KernelProjects

Community

  • Why a community?

  • Regional Kernelnewbies

  • Personal Pages

  • Upcoming Events

References

  • Mailing Lists

  • Related Sites

  • Programming Links

Wiki

  • Recent Changes

  • Site Editors

  • Side Bar

  • Tips for Editors

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 2 as of 2015-12-21 21:35:45
KernelNewbies:
  • KernelProjects
  • common-kernel-loader

Common kernel read routine

This page documents progress the goal of a generic kernel file read routine on the kernel. For a while it was looked down upon to directly read files from Linux. These days there exists a few mechanisms in the kernel that do just this though. There are minor but important checks differences on each, we should take all the best practices from each of them, generalize them and make all places in the kernel that read a file use it.

TableOfContents(4)

Different file kernel read locations

  • firmware_class: fw_read_file()
  • module: kernel_read()
  • kexec: copy_file_fd()
  • IMA: integrity_read_file()
  • sound: do_mod_firmware_load()

Interested developers

We plan on developing this after the holidays

  • Mimi Zohar <zohar@linux.vnet.ibm.com>

  • "Luis R. Rodriguez" <mcgrof@suse.com>

Volunteered developers to review

We'll volunteer these folks to review, as well as obviously fsdevel folks.

  • David Howells <dhowells@redhat.com>

  • David Woodhouse <dwmw2@infradead.org>

  • Kees Cook <keescook@chromium.org>

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01