Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: teaching: labs: Clarify role of kill_*_super functions #195

Open
wants to merge 299 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
299 commits
Select commit Hold shift + click to select a range
d7eebdc
Documentation: teaching: lectures: syscalls.rst: Corrected minor typos
rbaronescu Mar 5, 2018
0aeafea
Corect typos
ramele1907 Mar 6, 2018
9d87b2c
lab03: kernel_api: update exercises requirements
andanicolae Mar 6, 2018
1c9bd0b
lab03: kernel_api: fixes
andanicolae Mar 10, 2018
ec0cd49
Documentation: lectures: Add draft 'Interrupts' lecture
dbaluta Mar 10, 2018
0ea64ba
lab04: exercises: Fix TODO numbers.
valighita Mar 13, 2018
2a83963
tracer_assignment: add checker and tracer skel
alexandrasandulescu Mar 15, 2018
8339ee3
fixed access variable reset method
crmares Mar 18, 2018
5df5c93
tracer_assignment: fix checker issue
alexandrasandulescu Mar 19, 2018
691779d
Documentation: teaching: add smp lecture
tavip Mar 20, 2018
098deed
Documentation: teaching: lectures: smp: small improvements and fixes
tavip Mar 20, 2018
13d1e71
Corrected some minor errors in interrupts.rst.
rbaronescu Mar 20, 2018
89acb29
Corrected minor typos/issues
crmares Mar 21, 2018
5d1aaa5
changed underline size
crmares Mar 21, 2018
59917b9
fixed pr_info
crmares Mar 22, 2018
e6f077d
lab02: kernel_modules: Add extra exercises
andanicolae Mar 5, 2018
fec01eb
Documentation: tools: labs: Use assignments subfolder for assignments
razvand Mar 26, 2018
7c17cfe
Documentation: tools: labs: Use _checker script name for 00-hello ass…
razvand Mar 26, 2018
f1ee349
Documentation: tools: labs: Add skeleton and checker for assignment 0…
razvand Mar 26, 2018
f5fef0f
Documentation: tools: labs: Move skeleton and checker for 1-tracer in…
razvand Mar 26, 2018
192bb3c
Documentation: tools: labs: update timer API for 4.15 kernel
andanicolae Mar 26, 2018
534e552
Documentation: tools: labs: update timer handler parameter name
andanicolae Mar 26, 2018
16777ac
Documentation: teaching: Add draft debugging lecture
dbaluta Mar 26, 2018
1c2540d
tools: labs: debugging: Add samples for debugging lecture
dbaluta Mar 26, 2018
63a1149
Documentation: lectures: debugging: Add gdb examplew
dbaluta Mar 27, 2018
cd8647f
tools: assignments: 1-tracer: Fix open device file test assertion fai…
alexandrasandulescu Mar 28, 2018
98ff1d3
tools: assignments: 2-uart: Migrate code from former repo
alexandrasandulescu Mar 28, 2018
0fb4886
tools: assignments: 2-uart: Adapt code to new environment
alexandrasandulescu Mar 28, 2018
87aff10
tools: assignments: 2-uart: Fix environment setup
alexandrasandulescu Mar 28, 2018
febe376
tools: assignments: 5-pitix: Migrate code from former repo
alexandrasandulescu Mar 29, 2018
9195208
tools: assignments: 5-pitix: Apply checkpatch.pl
alexandrasandulescu Mar 29, 2018
6159b09
tools: assignments: 5-pitix: Replace busybox incompatible commands
alexandrasandulescu Mar 29, 2018
5000575
lab02: kernel_modules: nitpicking
andanicolae Mar 6, 2018
a1bbbed
tools: assignments: 2-uart: Add missing object to templates
alexandrasandulescu Mar 30, 2018
2404cdf
tools: assignments: 5-pitix: Add missing resources
alexandrasandulescu Apr 10, 2018
8c9c947
lab07: add block devices lab template
valighita Apr 9, 2018
adcb986
Documentation: teaching: labs: Add lab07 Block Device Drivers
andanicolae Apr 10, 2018
45f2db1
Documentation: teaching: labs: lab07 fixes
andanicolae Apr 10, 2018
271f5d8
Documentation: teaching: labs: lab07 fixes
andanicolae Apr 13, 2018
14521fd
labs: lab08: add filesystem part1 lab template
valighita Apr 16, 2018
8414e87
tools: assignment: 3-raid: Add assignment
alexandrasandulescu Apr 15, 2018
a32df1d
labs: lab09: add filesystem part2 lab template
valighita Apr 23, 2018
ccf93c0
labs: lab10: add networking lab template
valighita Apr 26, 2018
38d6d01
tools: labs: Update setup for QEMU image and Linux kernel 4.15
razvand May 2, 2018
e8a9ed6
assignments: stp: Add environment support for transport protocol
alexandrasandulescu May 6, 2018
0401bc1
Documentation: teaching: labs: lab11 nitpicking
andanicolae May 6, 2018
6c907b0
tools: labs: assignments: Add ix-e100 driver skeleton
dbaluta May 19, 2018
f6f9879
tools: labs: Add second network interface for e100 assignment
dbaluta May 19, 2018
92c08c6
tools: labs: Add nttcp binary
dbaluta May 19, 2018
0673f24
tools: labs: Add support for kprobes, netfilter and netconsole in config
razvand May 20, 2018
337a53b
tools: labs: Fix second tap interface
dbaluta May 20, 2018
bd1bee0
tools: labs: qemu: Start nttcp at boot
dbaluta May 20, 2018
fd46e3c
tools:labs: Add support for loop devices in kernel config file
razvand May 20, 2018
ae798cf
tools:labs:2-uart: Update checker README
razvand Aug 25, 2018
15eaa5b
Update device_drivers.rst
DBLouis Dec 11, 2018
5123bbe
Use line buffered egrep in pts symlink oneliner of qemu lab script
eliaskousk Jan 19, 2019
b2110b2
Documentation: labs: Fix mount device name
DianaGabriela27 Jan 9, 2019
8fe3d01
assignments: 2-uart: Compile solution.ko for new kernel version
dbaluta Feb 9, 2019
da97b15
tools: labs: kernel_modules: remove kprobes
valighita Feb 25, 2019
82e694a
docs: Temporarily disable building slides
valighita Feb 26, 2019
9e0b67d
teaching: kernel_api: Fix Typo
dnne Feb 28, 2019
53bb702
tools: labs: kernel_modules: fix dyndbg
LazarRazvan Feb 28, 2019
7854644
Documentation: labs: implement cnext/cprev shortcuts for cscope
LazarRazvan Feb 28, 2019
788402a
tools: labs: kernel_modules: fix dyndbg
LazarRazvan Feb 28, 2019
4f347d9
teaching: syscalls: Fix small typo in syscall lecture
sstancioiu Feb 28, 2019
6db73df
teaching: kernel_api: Fix typos
dnne Feb 28, 2019
9bf4bcb
docs: Reenable slides build
valighita Feb 26, 2019
42cd962
teaching: kernel_api: Fix typo in structure name
dnne Mar 4, 2019
620087f
Documentation: teaching: labs: kernel_api Fix paragraph title
boghicieusebiu Mar 5, 2019
81ff221
Documentation: teaching: labs: kernel_api Fix typo in function name
boghicieusebiu Mar 5, 2019
bd9b20a
Documentation: teaching: labs: kernel_api Remove extra tab
boghicieusebiu Mar 5, 2019
198006a
list: update PROCFS_MAX_SIZE to 512
claudiughioc Mar 5, 2019
b4d08cb
Documentation: teaching: labs: kernel_api Fix typos
boghicieusebiu Mar 5, 2019
01e5f99
Documentation: teaching: labs: kernel_api Fix typo
boghicieusebiu Mar 6, 2019
d14b74d
teaching: device_drivers: Multiple fixes
dnne Mar 10, 2019
a53cf24
assignments: list: Fix SPDX license identifier warning
mhpopescu Mar 11, 2019
f2f7233
teaching: labs: device_drivers: content fixes
valighita Mar 12, 2019
a5c72ab
teaching:labs:device_drivers: fix typos and missing macros
Sergiu121 Mar 14, 2019
6c55b37
teaching:labs:device_drivers: fix typo in write documentation
Sergiu121 Mar 14, 2019
04c00cf
teaching: labs: interrupts: Fix content
dnne Mar 15, 2019
0ce5719
teaching: labs: device_drivers: Fix my_read/my_write
LazarRazvan Mar 14, 2019
0ca9614
teaching: labs: device_drivers: Fix typo
dnne Mar 15, 2019
938de21
tools:labs: Add white spaces to Makefile
razvand May 20, 2018
d35e33d
tools:labs: Update .PHONY rules in Makefiles
razvand May 20, 2018
dd75879
tools:labs: Prepend Makefile clean rules with - (ignore exit status)
razvand May 20, 2018
cffc131
tools:labs: Use KDIR instead of PWD in Makefile rules
razvand May 20, 2018
9913cd4
tools:labs: Add --no-run-if-empty option to xargs
sstancioiu Mar 17, 2019
44f34ec
teaching: labs: deferred_work: Timer API changes
valighita Mar 27, 2019
e30a618
Documentation: tools: labs: Fix identation in checker for assignment …
boghicieusebiu Mar 18, 2019
76f30bb
Documentation: teaching: labs: interrupts Fix translation
boghicieusebiu Mar 27, 2019
1085116
Documentation: teaching: labs: deferred_work Add missing hyperlink
boghicieusebiu Mar 27, 2019
be7fe5c
Documentation: teaching: labs: deferred_work Add missing return state…
boghicieusebiu Mar 27, 2019
6daf052
tools: labs: templates: deferred_work Fix typos
boghicieusebiu Mar 27, 2019
c5b3de6
Documentation: teaching: labs: deferred_work Fix hyperlink
boghicieusebiu Mar 27, 2019
06e1f38
teaching: labs: deferred_work: Fix content
dnne Mar 25, 2019
90d223c
Fix solution.ko - updated module name to 'solution'
mateiuli Mar 30, 2019
36288a0
Documentation: teaching: labs: deferred_work: Change kthread and work…
Sergiu121 Mar 28, 2019
ce32cf5
Documentation: teaching: labs: deferred_work: Fix small typos
Sergiu121 Mar 28, 2019
65a7ada
Documentation: teaching: labs: deffered_work: Fix exercise 5 hint
Sergiu121 Apr 1, 2019
a7ecd6e
teaching: labs: filesystems part 1: Add lab documentation
valighita Apr 4, 2019
1de7ae4
Documentation: teaching: labs: block_device_drivers: Fix lab refs
Sergiu121 Apr 4, 2019
b23859f
Documentation: teaching: labs: block_device_drivers: Fix hint box
Sergiu121 Apr 4, 2019
408f52a
Documentation: teaching: labs: block_device_drivers: Fix typos
Sergiu121 Apr 4, 2019
5fdf9ff
teaching: labs: file_systems_part_1: fixes
valighita Apr 10, 2019
5a7fc35
Documentation: teaching: labs: filesystems_part1: Remove bold paragraphs
Sergiu121 Apr 11, 2019
903e808
Documentation: teaching: labs: filesystems_part1: Fix typos
Sergiu121 Apr 11, 2019
34595bf
Documentation: teaching: Split sidebar into sections
Sergiu121 Apr 11, 2019
ceaa123
Documentation: teaching: Rename exercises page to infrastructure
Sergiu121 Apr 11, 2019
fa9acb6
teaching: labs: filesystems part 2: Add lab documentation
valighita Apr 14, 2019
e716342
teaching: labs: filesystems part 2: Fixes
valighita Apr 16, 2019
e118554
Merge pull request #117 from valx90/vghita/teaching/labs/file_systems…
valighita Apr 16, 2019
dc464c0
teaching: labs: filesystems part 2: minfs: return inode from cache
claudiughioc Apr 16, 2019
4062e3d
Merge pull request #118 from linux-kernel-labs/minfs_use_cached_inodes
valighita Apr 17, 2019
ba89c3f
teaching: labs: filesystems_part2: fix exercise
valighita Apr 17, 2019
8909edf
Merge pull request #102 from sstancioiu/feature/sstancioiu/remove-dir…
razvand Apr 21, 2019
103bf88
Merge pull request #100 from dnne184/devicedriver_fix
razvand Apr 21, 2019
8017fed
Merge pull request #85 from LazarRazvan/master2
razvand Apr 21, 2019
963eee0
tools/labs/assignment: Clarify location of scripts for testing 3-raid
razvand Apr 21, 2019
99dc01a
Documentation/teaching/labs: :c:type:... constructs were missing star…
razvand Apr 21, 2019
c273f96
Documentation/teaching/labs: Remove dangling colon symbol
razvand Apr 21, 2019
a47c269
Documentation/teaching/labs: Remove sentence requiring calling dir_em…
razvand Apr 21, 2019
f392aaa
tools/labs: Remove unused ino variable
razvand Apr 21, 2019
d9de894
Documentation/teaching/labs: Sync statement with skeleton requiring c…
razvand Apr 21, 2019
c91a35a
Documentation/teaching/labs: Fix section numbering
razvand Apr 21, 2019
ff811d8
Documentation: teaching: labs: filesystems_part2: Fix typos
Sergiu121 Apr 21, 2019
51886db
Documenttion/teaching/labs: Remove statement on adding function bodies
razvand Apr 21, 2019
8338d2e
Documentation/teaching/labs: Remove extra backtick
razvand Apr 21, 2019
99198a3
Documentation/teaching/labs: Mention call to inode_init_owner()
razvand Apr 21, 2019
8df775f
tools/labs: Make helping comment more specific
razvand Apr 21, 2019
3f592b6
Documentation/teaching/labs: Clarify tip for implementing minix_add_link
razvand Apr 21, 2019
d2419c0
tools: labs: qemu: Makefile: Remove deprecated vlan parameter
Sergiu121 Apr 21, 2019
0828497
Documentation: teaching: labs: filesystems_part1: Fix minor typos
Sergiu121 Apr 21, 2019
729e4a7
Merge pull request #127 from Sergiu121/infra/qemu
razvand Apr 21, 2019
67b5176
Merge pull request #125 from Sergiu121/labs/filesystems_part2
razvand Apr 21, 2019
1f3039f
Merge pull request #126 from razvand/lab-09-review
razvand Apr 21, 2019
0fe9ee7
Documentation: teaching: labs: networking: Add networking lab
Sergiu121 Apr 21, 2019
30079fd
Merge pull request #123 from Sergiu121/labs/networking
valighita Apr 24, 2019
3236a40
Documentation: teaching: labs: networking: Fix broken netfilter link
Sergiu121 Apr 24, 2019
58fb255
Documentation: teaching: labs: networking: Fix typos
Sergiu121 Apr 24, 2019
72ac22c
tools: labs: templates: networking: Fix ex5 testing script
Sergiu121 Apr 25, 2019
10c8854
labs: networking: Fix wrong getname params in docs and skels
Sergiu121 Apr 25, 2019
1d52267
Documentation: teaching: labs: networking: Fix bad rst formatting
Sergiu121 Apr 25, 2019
ee2b019
Documentation: teaching: labs: networking: Fix bad proto_ops indentation
Sergiu121 Apr 25, 2019
13d25bb
Documentation: teaching: labs: networking: Make IP code snippet visible
Sergiu121 Apr 25, 2019
2c64929
Documentation: teaching: labs: networking: Fix kern parameter in ex4
Sergiu121 Apr 27, 2019
b1c42b8
Merge pull request #129 from Sergiu121/labs/networking
Sergiu121 May 4, 2019
1845cf7
tools/labs/assignments: Refactor checker build infrastructure for 1-t…
razvand Apr 21, 2019
fc94266
tools/labs: Remove trailing whitespaces in Kbuild file
razvand May 4, 2019
fc618c2
tools/labs: Use proper lab id (#10)
razvand May 4, 2019
28ad08b
tools/labs: Remove sock_release() from TODO
razvand May 4, 2019
98d0d1c
tools/labs: Use getname() function in proto_ops structure
razvand May 4, 2019
6a17fd3
Documentation/teaching/labs: Update wording and formatting
razvand May 4, 2019
677adb8
Documentation/teaching/labs: Make updates for kernel 4.19
razvand May 4, 2019
8417cd8
Documentation/teaching/labs: Use consistent wording for TCP connectio…
razvand May 4, 2019
e1e726a
tools/labs: Add TODO item for calling sock_release()
razvand May 6, 2019
ae57ca7
Merge pull request #133 from razvand/new-update-lab-10
Sergiu121 May 6, 2019
2b173b8
Documentation: teaching: fix intro slides titles
Feb 18, 2020
7864278
Documentation: teaching: update SO2 team
Feb 18, 2020
f81b717
Merge pull request #138 from tavip/teaching-intro-2020
tavip Feb 18, 2020
880d461
Documentation: teaching: labs: introduction content fixes
valighita Feb 19, 2020
78f32d9
Merge pull request #139 from valx90/vghita/intro-lab-fixes
valighita Feb 20, 2020
77013b6
Documentation: teaching: labs: kernel_modules exercises updates
Feb 24, 2020
4dc5357
tools/labs: Remove unnecessary copy from make copy
Sergiu121 Feb 25, 2020
116a71e
Documentation: teaching: labs: kernel_modules: fix printk exercise
valighita Feb 25, 2020
e5d6adb
Merge pull request #141 from valx90/vghita/labs/kernel_modules/conten…
valighita Feb 26, 2020
9e95e74
Documentation: teaching: labs: Add git pull warning before the exerci…
valighita Feb 26, 2020
1fef0b0
Documentation: teaching: labs: kernel_modules: add missing KDB section
valighita Feb 26, 2020
f29be85
Merge pull request #143 from valx90/vghita/labs/kernel_modules/add_mi…
valighita Feb 27, 2020
b3fb351
Merge pull request #142 from Sergiu121/infra/Makefiles
Sergiu121 Feb 28, 2020
6c013fa
Merge pull request #144 from valx90/vghita/teaching/labs/add_git_pull…
valighita Feb 28, 2020
652d99c
tools:labs: Ignore vmchecker output/unused files
razvand Mar 1, 2020
c857bf1
tools:labs: Add vmchecker support scripts
razvand Mar 1, 2020
e27b428
tools:labs: Add vmchecker-specific Makefile
razvand Mar 1, 2020
e16c902
tools:labs: Update KDIR in Makefile.vmchecker
razvand Mar 1, 2020
9ad350c
tools/labs: Add script to create vmchecker setup to run on tester system
razvand Mar 1, 2020
1bc65fc
README: Fix README.rst link
dbaluta Mar 1, 2020
3af818f
Documentation: teaching: labs: kernel_api: Fix indentation for exercises
Mar 2, 2020
5772f8a
Add initial Github Actions support
tavip Mar 1, 2020
8b2db19
.github: filter pushes and pull request builds
tavip Mar 2, 2020
eb99417
.github: use full GITHUB_REF path as target directories
tavip Mar 2, 2020
b6fedc0
tools/labs: Change make clean rule to only remove generated files
Sergiu121 Feb 28, 2020
bd336b3
.github: publish artifacts for pull_requests
tavip Mar 3, 2020
5a4892b
Merge pull request #149 from valx90/vghita/labs/kernel_api/content_fixes
valighita Mar 3, 2020
96a0222
Merge pull request #145 from Sergiu121/infra/Makefiles
Sergiu121 Mar 3, 2020
c5c5420
Documentation: ditaa: pick command invocation from env vars
tavip Mar 1, 2020
08336cb
tools: labs: remove pip install from docs make target
tavip Mar 1, 2020
f9efbb3
tools: labs: add docker-docs target that builds documentation with do…
tavip Mar 1, 2020
7e646b8
Documentation: teaching: labs: kernel_api: Fix typos in exercises
Mar 3, 2020
3352c87
tools/labs: Add TODO for exercise 7-list-test
Mar 3, 2020
db1dd30
Merge pull request #153 from teoserbanescu/tserbanescu/labs/kernel_ap…
teoserbanescu Mar 3, 2020
b8f1363
Documentation: teaching: labs: kernel_api: Add TODO for exercise 7-li…
Mar 3, 2020
5231d1b
Merge pull request #151 from tavip/lkt-docker-docs
tavip Mar 4, 2020
dff23bc
Merge pull request #154 from teoserbanescu/tserbanescu/labs/kernel_ap…
teoserbanescu Mar 4, 2020
b9ee377
.github: publish CI artifacts to linux-kernel-library.github.io
tavip Mar 4, 2020
133f8d2
Merge pull request #155 from tavip/lkt-publish
tavip Mar 8, 2020
f7beddc
.github: remove debug left over
tavip Mar 8, 2020
e5cf459
Merge pull request #156 from tavip/lkt-publish
tavip Mar 8, 2020
4ab73c9
tools:labs: Update Makefile.vmchecker to include Makefile to limit im…
razvand Mar 9, 2020
0f94e46
Merge pull request #148 from linux-kernel-labs/vmchecker
razvand Mar 10, 2020
43ef3f1
Documentation: labs: device_drivers: update exercises
Mar 10, 2020
d508c4e
Labs: templates: device_drivers: Update TODOs
Mar 10, 2020
d76532f
Merge pull request #157 from valighita/vghita/labs/device_drivers/exe…
valighita Mar 10, 2020
44f1426
Documentation: Add contributions page
Mar 2, 2020
975e232
Merge pull request #152 from valighita/vghita/documentation/add-contr…
valighita Mar 10, 2020
f909737
Documentation: teaching: labs: deferred_work: Fix example code
Mar 10, 2020
8ca93d7
Merge pull request #158 from thsmdt/deferred_work
valighita Mar 11, 2020
589ad48
Documentation: labs: device_drivers: Update extra exercises testing p…
valighita Mar 11, 2020
aa67e2f
Merge pull request #159 from valighita/documentation/labs/device_driv…
valighita Mar 11, 2020
caf9d09
docs/contributing: Fix typos: s/linux-lernel/linux-kernel/
sjp38 Mar 13, 2020
1a49c4c
Merge pull request #160 from sjp38/contrib_fix
tavip Mar 13, 2020
3989980
Fix typo at MODULE_AUTHOR
BrateS Mar 14, 2020
e828714
Merge pull request #165 from BrateS/patch-1
valighita Mar 14, 2020
f9d6c78
tools/labs/qemu: set USER variable explicitly
Sergiu121 Mar 2, 2020
454b6c2
Documentation: teaching: labs: interrupts: Update exercises.
Mar 17, 2020
84ff1ef
Fix typo IRQ_NONE
raresraf Mar 19, 2020
660f434
Documentation: teaching: interrupts: add more details
tavip Mar 13, 2020
3efbc2c
tools: labs: scripts: Do not use (optional) MAC address when logging …
razvand Mar 22, 2020
6b4c011
tools: labs: scripts: FIX: Use correct image source for creating clea…
razvand Mar 22, 2020
eeaf3bb
tools: labs: scripts: Download initial (vmchecker) image from Yocto w…
razvand Mar 22, 2020
a1ea30c
tools: labs: Create placeholder output vmchecker files if not generated
razvand Mar 22, 2020
5248cca
tools: labs: Add Makefile rule to process vmchecker kernel messages file
razvand Mar 22, 2020
b9b1eca
Fix typo simple barrier
raresraf Mar 30, 2020
5027261
Documentation: teaching: lectures: smp: fix local_irq_save
tavip Mar 30, 2020
98debdc
Documentation: teaching: labs: interrupts: add BTS pseudocode
tavip Mar 30, 2020
d5d0dd8
Documentation: teaching: lectures: smp: align bullet lists
tavip Mar 30, 2020
823d8b0
Documentation: teaching: lectures: smp: add ticket spinlock reference
tavip Mar 30, 2020
4a685c0
Documentation: teaching: lectures: smp: fix RCU diagram
tavip Mar 30, 2020
0ed7cd4
Documentation: teaching: labs: block_device_drivers: Update exercises
valighita Mar 31, 2020
4bf5c9f
tools: labs: simplify leak debugging example
tavip Mar 31, 2020
1ddb5b8
tools: labs: cleanup the ABBA locking debugging example
tavip Mar 31, 2020
974a4b8
tools: labs: update the irq deadlock example
tavip Mar 31, 2020
bf0918e
tools: labs: qemu: enable kmemleak
tavip Mar 31, 2020
e2c6270
virtio_net: workaround for lockdep checker issue
tavip Mar 31, 2020
18c874d
Documentation: teaching: lectures: debugging
tavip Mar 31, 2020
79cc80c
Documentation: teaching: lecture: debugging: remove trailing whitespace
tavip Mar 31, 2020
7ffdb25
templates: 6-list-sync: Fix potential dangling pointer
MathieuBordere Apr 2, 2020
32cac86
labs: block_device_drivers: Replace obsolete bio_set_op_attrs
ionhoria Apr 7, 2020
4bb1f8f
Documentation/teaching/labs/filesystems_part1: Update exercises.
Apr 7, 2020
2caac8e
minfs_write_inode uid/gid issue
raresraf Apr 20, 2020
f176fa3
.github: update apt database before installing packages
tavip Apr 30, 2020
c9a2473
Documentation: Fix wording and typos in documentation
RobertLarsen May 1, 2020
89e03f4
labs: networking: Fix includes in userspace component
May 4, 2020
07a5ee3
tools: labs: Ignore all Yocto image files
razvand Apr 5, 2020
d6a75ee
tools/labs: Add clean target to all Makefiles
Sergiu121 Apr 24, 2020
c0fbbb9
tools/labs/templates: Make scripts executable
Sergiu121 Apr 24, 2020
f653460
[5-PITIX] Add score information in checker
nitu-catalin1998 Apr 15, 2020
8603156
documentation: memory_mapping: Fix TODO numbering
ionhoria May 11, 2020
96b8a80
documentation: teaching: labs: device_model: content fixes
valighita May 12, 2020
4f28ef5
Documentation: teaching: labs: device_model: replace pngs with inline…
tavip May 13, 2020
7f2780a
Documentation: teaching: labs: Clarify role of kill_*_super functions
razvand Jun 18, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
version: 2
general:
artifacts:

jobs:
build:
docker:
- image: lktp/publish:0.2
environment:
[email protected]:linux-kernel-labs/linux-kernel-labs.github.io.git
steps:
- restore_cache:
key: code-tree-shallow
- run:
name: checkout
command: |
set -x
mkdir -p ~/.ssh/
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
git config --global user.email "[email protected]"
git config --global user.name "Circle CI"
if ! [ -d linux ]; then
git clone --depth=1 $CIRCLE_REPOSITORY_URL;
fi
if cd linux; then
if [[ $CIRCLE_BRANCH == pull/* ]]; then
git fetch --depth=1 origin $CIRCLE_BRANCH/head;
else
git fetch --depth=1 origin $CIRCLE_BRANCH;
fi
git reset --hard $CIRCLE_SHA1
cd ..
fi
if ! [ -d linux-kernel-labs.github.io ]; then
git clone --depth=1 $GITHUB_IO
fi
if cd linux-kernel-labs.github.io; then
git fetch --depth=1 origin master
git reset --hard origin/master
cd ..
fi
- save_cache:
key: code-tree-shallow-{{ epoch }}
paths:
- /home/ubuntu/project/linux/.git
- /home/ubuntu/project/linux-kernel-labs.github.io/.git
- run:
name: build
command: |
rm -rf linux/Documentation/output
cd linux/tools/labs && make docs
- add_ssh_keys:
fingerprints:
"8e:db:3c:ef:d0:4e:84:9f:78:46:e9:2f:1a:1e:32:81"
- run:
name: publish
command: |
set -x
if cd linux-kernel-labs.github.io; then
rm -rf $CIRCLE_BRANCH
mkdir -p $CIRCLE_BRANCH
cp -r ../linux/Documentation/output/teaching/* $CIRCLE_BRANCH/
git add $CIRCLE_BRANCH/
git commit --allow-empty -m "Publish $CIRCLE_BRANCH (built from ${CIRCLE_PULL_REQUEST:-$CIRCLE_BRANCH})"
git push
export GITHUB_SHA=$CIRCLE_SHA1
export GITHUB_USER=linux-kernel-labs
export GITHUB_REPO=$CIRCLE_PROJECT_REPONAME
export GITHUB_CONTEXT="ci/circleci: publish"
export GITHUB_TARGET_URL="http://linux-kernel-labs.github.io/$CIRCLE_BRANCH"
export GITHUB_DESCRIPTION="published at $GITHUB_TARGET_URL"
github-status-reporter --state success --debug
cd ..
fi

workflows:
version: 2
build:
jobs:
- build
40 changes: 40 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build_job:
runs-on: ubuntu-latest
name: Build documentation
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install native dependencies
run: sudo apt-get update -y && sudo apt-get install -y ditaa graphviz
- name: Install pip dependencies
run: sudo pip install Sphinx==1.6.7 sphinx_rtd_theme hieroglyph==1.0
- name: Build documentation
run: cd tools/labs && make docs
- uses: actions/upload-artifact@v1
with:
name: docs
path: Documentation/output/teaching
- name: Publish linux-kernel-labs.gihub.io
env:
URL: https://api.github.com/repos/linux-kernel-labs/linux-kernel-labs.github.io/dispatches
HASH: yxg-obg:q8qqs27s1617p99n2p131s71n827npn1on4445q3
run: |
curl -X POST -u $(tr a-zA-Z n-za-mN-ZA-M <<<"$HASH") --header 'content-type: application/json' $URL \
--data '{"event_type" : "publish", "client_payload" : { "run_id" : "${{ github.run_id }}", "dir" : "${{ github.ref }}" } }'
- name: Comment on PR
if: github.event_name == 'pull_request'
env:
URL: ${{ github.event.pull_request.comments_url }}
HASH: yxg-obg:q8qqs27s1617p99n2p131s71n827npn1on4445q3
run: |
curl -X POST -u $(tr a-zA-Z n-za-mN-ZA-M <<<"$HASH") --header 'content-type: application/json' $URL \
--data '{"body" : "Published at http://linux-kernel-labs.github.io/${{ github.ref }}"}'
3 changes: 3 additions & 0 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
htmldocs:
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var)))

slides:
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,slides,$(var),,$(var)))

linkcheckdocs:
@$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,linkcheck,$(var),,$(var)))

Expand Down
21 changes: 16 additions & 5 deletions Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
import sys
import os
import sphinx
import subprocess

from distutils.version import LooseVersion

# Get Sphinx version
major, minor, patch = sphinx.version_info[:3]
Expand Down Expand Up @@ -42,6 +45,16 @@
else:
extensions.append("sphinx.ext.pngmath")

try:
hglyph_ver = subprocess.check_output(["hieroglyph", "--version"])
if LooseVersion(hglyph_ver) > LooseVersion("1.0.0"):
extensions.append('hieroglyph')
except:
None

extensions.append("ditaa")
extensions.append("asciicast")

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down Expand Up @@ -183,11 +196,9 @@

html_static_path = ['sphinx-static']

html_context = {
'css_files': [
'_static/theme_overrides.css',
],
}
def setup(app):
app.add_stylesheet('theme_overrides.css')


# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down
1 change: 1 addition & 0 deletions Documentation/media/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ epub: all
xml: all
latex: $(IMGPDF) all
linkcheck:
slides: all

clean:
-rm -f $(DOTTGT) $(IMGTGT) ${TARGETS} 2>/dev/null
Expand Down
Loading