summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-20debugging-tools: add symbol reinsert and PIE infoJohn Ogness
PIE binaries are now the default, so let's talk about them. Particularly for mtrace it is important to understand. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20embedded-devel: add slides about PIE binariesJohn Ogness
PIE binaries are now the default, so let's talk about them. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20embedded-devel: add LD_TRACE_PRELINKINGJohn Ogness
Since PIE binaries are created by default now, it has become important to see where the binaries are mapped in memory. LD_TRACE_PRELINKING is the dynamic loader environment variable to see that. $ env LD_TRACE_PRELINKING=1 ./hello | grep '=>' Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20tailpres: change to englishJohn Ogness
Almost all slides are english now, so the final "thank you" page should be too. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20yocto basic: replace depexp with taskexpVolker Haspel
The command depexp is deprecated and doesn't work with the trainer image. We should show the new command taskexp. Signed-off-by: Volker Haspel <volker.haspel@linutronix.de>
2018-02-20dd-multi.sh: add support for layer tarballs in subdirsJohn Ogness
Use 'basename' to isolate the layer tarball filename in case they are specified in a directory other than the current working directory. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-19dd-multi.sh: change partitioning procedureJohn Ogness
Initially write 10MB of 0's instead of 1MB to make sure any tables at the beginning are really gone. Rather than calling 'partprobe' with no arguments, explicitly pass the list of devices to re-read. 'fdisk' is used to create the 2nd (/home) partition. Do not do that in the background but instead synchronously for each device. Add a 'sync' afterwards to hopefully create a barrier before rescanning the devices. This is should address a problem where 'partprobe' is run too early and the kernel does not find the 2nd partition of the last device. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-08security: rework Mandatory Access ControlHolger Dengler
- Rework generic information - Add information about SMACK and AppArmor - Add References - Add examples Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-01-17do not add devel user to wireshark groupJohn Ogness
There is no wireshark group by default. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-01-15security: cleanup concept slidesHolger Dengler
Cleanup multiple peanuts: - remove [fragile] (were not required) - remove unnecessary header stubs - align subsections Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-01-15security: change code fontsize to scriptsizeHolger Dengler
Fontsize "scriptsize" is a good alternative between default fontsize and "tiny". Signed-off-by: Holger Dengler <dengler@linutronix.de>
2017-12-19add a userspace tracing exampleManuel Traut
using lttng-ust, perf and tshark traces can be shown in tracecompass Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-12-19extra: remove extra scriptsJohn Ogness
dd-multi.sh now supports layers so there is no need for the example/archived extra scripts. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19update yocto-x86: sync to devel/manut/yoctoJohn Ogness
Sync with devel/manut/yocto latest version 8cd4956a9b48a316eab6dc6d1b1f6cd51362fecf. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19update yocto-advanced: sync to devel/manut/yoctoJohn Ogness
The devel/manut/yocto heavily diverted from master. Sync with latest version 8cd4956a9b48a316eab6dc6d1b1f6cd51362fecf. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19schulung_tools: add various demos and toolsJohn Ogness
Different tools have been used by various trainers as demos. Put all these into master so they are available to all trainers. ipc_pipe: ipc demo using pipes ipc_shm: ipc demo using shared memory libduma: source and instructions for compiling libduma matrix: demo of good and bad cache access mtrace: patch and infos for using mtrace with ASLR rtex: demo of handling page faults Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19import drivers from devel/jognessJohn Ogness
Simple drivers for use in the Linux Advanced schulung were only available in the devel/jogness branch. Push them to master so they are easily accessible to any trainer. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19import presentations from devel/jognessJohn Ogness
Several presentations are available only in devel/jogness. Add them to master to allow easy access to any trainer. misc/pres_best_en: best practice guidelines misc/pres_ipc_en: overview of linux ipc mechanisms misc/pres_minicoredumper_en: minicoredumper features misc/pres_zynq_en: describe the zynq architecture Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19images: add diagrams for hello kernel moduleJohn Ogness
It can be difficult for new kernel developers to visualize how the hello module character device interacts with the kernel and its various structures. Add a set of images to help make this clearer. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19rt specialties: add english versionJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19rt basics: add english versionJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19basics/boot process: add english versionJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19kernel-devel/modules: add english versionJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19kernel-devel/char device: add english versionJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19embedded devel: add english versionJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19devel/debugging tools: add english versionJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19rt-app-basics: switch to verbatimJohn Ogness
The verbatim text type is much easier to read. Use it instead for commands and output. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19images/ioctl: fix i/o directionJohn Ogness
ioctl is bi-directional. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19security: integrate securebootHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2017-12-19securebootHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2017-12-19README: add information about --layer optionJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19lx-trainer-vm: add finetuning commentsJohn Ogness
Clarify what the different finetuning steps are doing. Since some of the steps are complicated, a description helps users to determine if the finetuning steps are correct. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19lx-trainer-vm: add useful tools during trainingsJohn Ogness
ntfs-3g: some users need to read/write mount ntfs partitions netcat-traditional: critical tool for testing network connections geeqie: simple yet effective image viewer gnuplot: generate graphical cyclictest latency graphs Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19lx-trainer-vm: change to ftp.de.debian.orgJohn Ogness
The use of httpredir might cause problems with elbe. Use servers that are known to work reliably. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19lx-trainer-vm: remove i386 compatibilityJohn Ogness
Years ago dengler needed the i386 libs for his security schulung. He has confirmed he no longer needs these, so remove them. The main motivation for the removal is to simplify local mirrors, no longer requiring i386. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19dd-multi.sh: add layer supportJohn Ogness
Layers can now be specified using: --layer=tarball Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-11-13yocto-intro: updateJohn Ogness
+ fix typos + sync with devel/manut/yocto:8cd4956a9b48a316eab6dc6d1b1f6cd51362fecf Signed-off-by: Volker Haspel <volker.haspel@linutronix.de> Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-11-13yocto-basic: updateJohn Ogness
+ update yocto version in some slides + add missing slides + fix typos Signed-off-by: Volker Haspel <volker.haspel@linutronix.de> Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-10-24security: fix path to capability header fileHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2017-10-23kconfig: remove temporary filesJohn Ogness
These changes are based on building the distribution and committing only the distribution files.
2017-10-23elbe: remove pausesJohn Ogness
2017-10-23elbe: fixup title pages to match other materialJohn Ogness
2017-10-23update elbe slidesJohn Ogness
- fix typos - update platforms - remove obsolete adk infos
2017-10-23linux processes: update for a stretch kernelJohn Ogness
The cgroup example was simplified, the example commands/output were updated for a Debian/stretch system, and various spelling/capitalization errors were corrected. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-10-12trainer image: use nereus instead of 10.0.2.2John Ogness
Since elbe should be run in a container, we need the name.
2017-09-18update scripts and READMEJohn Ogness
- removed extra dd-variation scripts - updated script for general usage (src/dest as arguments) - adjusted script to support modifying new image - moves /home/* from part1 to part2 - adds /home entry to /etc/fstab - moved manut's update-home.sh to "extra" directory (may still be in use? until a general replacement exists) Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-09-18image: update to stretchJohn Ogness
- when run from nereus, the image will be complete out-of-the-box Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-07-07security: Replace setreuid() and setregid() callHolger Dengler
The implicit modification of saved UID or GID is not clear enough for an example code. Therefore these calls are replaced by the more suitable setresuid() and setresgid() calls. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2017-07-07security: Fix typos in examplesHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2017-01-19fix typosjohn.ogness