File: README.md

package info (click to toggle)
libpulp 0.3.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,976 kB
  • sloc: ansic: 11,792; python: 1,216; sh: 881; makefile: 871; cpp: 582; asm: 387
file content (21 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (2)
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!