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

0-list: update PROCFS_MAX_SIZE to 512 #659

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
e42a290
labs: add lab infrastructure and documentation
tavip Jun 30, 2017
7d144ce
labs: add kernel modules lab
tavip Jun 30, 2017
38d1472
labs: add kernel api lab
tavip Jun 30, 2017
696ea20
labs: add device drivers lab
tavip Jun 30, 2017
54a9d9f
labs: add I/O access and interrupts lab
tavip Jun 30, 2017
67430bf
labs: add deferred work lab
tavip Jun 30, 2017
38ad19d
labs: add memory mapping lab
tavip Jun 30, 2017
0ae1e46
labs: add device model lab
tavip Jun 30, 2017
a963fdf
labs: add lab infrastructure and documentation
tavip Jun 30, 2017
78bb330
labs: add kernel modules lab
tavip Jun 30, 2017
203b5fb
labs: add kernel api lab
tavip Jun 30, 2017
0c9927b
labs: add device drivers lab
tavip Jun 30, 2017
75f7049
labs: add I/O access and interrupts lab
tavip Jun 30, 2017
a3c0b9b
labs: add deferred work lab
tavip Jun 30, 2017
1a23673
labs: add memory mapping lab
tavip Jun 30, 2017
7fcbd2b
labs: add device model lab
tavip Jun 30, 2017
05e7f1d
Documentation: move from labs to teaching/labs
tavip Feb 20, 2018
aff10dd
Documentation: add support for slides
tavip May 30, 2017
2a32c40
tools: labs: build slides
tavip Feb 20, 2018
5024101
Documentation: add ditaa sphinx directive
tavip Feb 20, 2018
7ac8330
Documentation: sphinx: ditaa: fix relative image names
tavip Feb 20, 2018
e1f1a13
tools: labs: add requirements.txt
tavip Feb 20, 2018
95c8a86
Documentation: teaching: add intro lecture
tavip Feb 20, 2018
823abd8
.circleci: add initial build configuration
tavip Feb 21, 2018
138ad7c
Documentation: fix common substitutions
tavip Feb 23, 2018
c02ddc1
labs: add introduction lab
andanicolae Feb 25, 2018
49f1fc5
Documentation: teaching: convert TABS to spaces in ditaa directives
tavip Feb 24, 2018
30c058a
hello_assignment: move sources from elf repo and configure build
alexandrasandulescu Feb 26, 2018
7817376
hello_assignment: checker asks for module path
alexandrasandulescu Feb 26, 2018
0f5322b
hello_assignment: remove unnecessary files; fix coding style
alexandrasandulescu Feb 26, 2018
ac9113d
Documentation: teaching: intro lecture: fix list unindent
tavip Feb 27, 2018
cb32d43
Documentation: conf.py: use add_stylesheet instead of html_context
tavip Feb 26, 2018
fbaecc3
Documentation: add asciicast directive
tavip Feb 26, 2018
a89b272
Documentation: ditaa: stop on errors
tavip Feb 26, 2018
20997b3
Documentation: teaching: conf.py: add non breakable space substitution
tavip Feb 27, 2018
4501cf0
tools: labs: install gdb scripts
tavip Feb 27, 2018
c122b9c
Corrected minor typos in intro lecture
alex-mocanu Feb 27, 2018
ab07402
Corrected formulation in intro lecture
alex-mocanu Feb 27, 2018
e3f27a4
Documentation: teaching: add system calls lecture
tavip Feb 27, 2018
1219b2e
Documentation: teaching: syscall lecture: fix slide to fit
tavip Feb 27, 2018
25d4f59
Documentation: teaching: lectures: intro.rst: Corrected minor typos
rbaronescu Feb 27, 2018
fb30067
assignment: kernel-api: Add initial list skeleton file
dbaluta Mar 1, 2018
cc28724
assignment: kernel-api: Add checker
dbaluta Mar 1, 2018
97953b8
lab 02 nitpicking and broken links fix
andanicolae Mar 4, 2018
8de04db
labs: kernel_modules: Add dyndbg exercise
valighita Mar 4, 2018
a86f341
Add cscope COMPILE_SOURCE paragraph
Sergiu121 Mar 2, 2018
4927d96
Fix typos in intro lecture
Sergiu121 Mar 2, 2018
3633b2d
Fix typos in syscalls lecture
Sergiu121 Mar 2, 2018
d3192e9
Documentation: teaching: labs: introduction: Fix typos
andadrn Mar 4, 2018
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
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
f018cba
list: update PROCFS_MAX_SIZE to 512
claudiughioc Mar 5, 2019
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:
GITHUB_IO=git@github.com: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 "circle.ci@kltp.org"
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
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