1. 08 7月, 2016 1 次提交
    • O
      samples/seccomp: Add standalone config option · f6041c1d
      Olof Johansson 提交于
      Add a separate Kconfig option for SAMPLES_SECCOMP.
      
      Main reason for this is that, just like other samples, it's forced to
      be a module.
      
      Without this, since the sample is a target only controlled by
      CONFIG_SECCOMP_FILTER, the samples will be built before include files are
      put in place properly. For example, from an arm64 allmodconfig built with
      "make -sk -j 32" (without specific target), the following happens:
      
        samples/seccomp/bpf-fancy.c:13:27: fatal error: linux/seccomp.h: No such file or directory
        samples/seccomp/bpf-helper.h:20:50: fatal error: linux/seccomp.h: No such file or directory
        samples/seccomp/dropper.c:20:27: fatal error: linux/seccomp.h: No such file or directory
        samples/seccomp/bpf-direct.c:21:27: fatal error: linux/seccomp.h: No such file or directory
      
      So, just stick to the same format as other samples.
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NKees Cook <keescook@chromium.org>
      f6041c1d
  2. 28 4月, 2016 1 次提交
  3. 14 10月, 2015 1 次提交
  4. 04 2月, 2015 1 次提交
  5. 22 12月, 2014 1 次提交
  6. 26 1月, 2013 1 次提交
  7. 09 2月, 2012 1 次提交
    • O
      samples/rpmsg: add an rpmsg driver sample · 779b96d2
      Ohad Ben-Cohen 提交于
      Add an rpmsg driver sample, which demonstrates how to communicate with
      an AMP-configured remote processor over the rpmsg bus.
      
      Note how once probed, the driver can immediately start sending messages
      using the rpmsg_send() API, without having to worry about creating endpoints
      or allocating rpmsg addresses: all that work is done by the rpmsg bus,
      and the required information is already embedded in the rpmsg channel
      that the driver is probed with.
      
      In this sample, the driver simply sends a "Hello World!" message to the remote
      processor repeatedly.
      
      Designed with Brian Swetland <swetland@google.com>.
      Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
      Cc: Brian Swetland <swetland@google.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      779b96d2
  8. 01 11月, 2011 1 次提交
  9. 21 4月, 2011 1 次提交
    • R
      HID: hid-example: fix some build issues · d431b2e3
      Randy Dunlap 提交于
      samples/hid-example.o needs some Kconfig and Makefile additions in order
      to build.  It should use <linux/*.h> headers from the build tree, so use
      HEADERS_CHECK to require that those header files be present.
      
      Change the kconfig symbol from tristate to bool since userspace cannot be
      built as loadable modules.
      
      However, I don't understand why the userspace header files are not present
      as reported in Andrew's build log, since it builds OK on x86_64 without
      any of these changes.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Alan Ott <alan@signal11.us>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      d431b2e3
  10. 31 3月, 2011 1 次提交
  11. 22 3月, 2011 1 次提交
  12. 30 10月, 2010 1 次提交
  13. 11 8月, 2010 1 次提交
  14. 09 11月, 2009 1 次提交
  15. 19 9月, 2009 1 次提交
  16. 16 6月, 2009 1 次提交
  17. 03 6月, 2009 1 次提交
  18. 06 5月, 2009 1 次提交
  19. 15 4月, 2009 1 次提交
  20. 14 10月, 2008 1 次提交
  21. 05 3月, 2008 1 次提交
  22. 25 1月, 2008 1 次提交
  23. 20 10月, 2007 2 次提交