File: README.md

package info (click to toggle)
libpulp 0.2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,964 kB
  • sloc: ansic: 11,257; python: 1,110; sh: 881; makefile: 824; cpp: 582; asm: 124
file content (21 lines) | stat: -rw-r--r-- 545 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Userspace Livepatch Examples.

This folder contain livepatching examples. Once you compile the example hitting
`make`, it will generate two files:

1. `test`
2. `a_livepatch1.so`

The first file is a binary and should be run with `libpulp.so` loaded. Assuming
libpulp is installed in `/usr/local/lib64/libpulp.so.0`, that is:
```
$ LD_PRELOAD=/usr/local/lib64/libpulp.so.0 ./test
```

The second file is the livepatch and should be applied with the `ulp` tool by
running:
```
$ ulp trigger a_livepatch.so
```

Have fun and happy livepatching!