diff options
| author | Kuniyuki Iwashima <kuniyu@amazon.co.jp> | 2021-08-14 10:57:16 +0900 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2021-08-15 00:13:33 -0700 |
| commit | 3478cfcfcddff0f3aad82891be2992e51c4f7936 (patch) | |
| tree | ff61e1fb09f3bda022c3e7034f8ca32413f14ab8 /lib/mpi/mpi-inline.h | |
| parent | 2c860a43dd77f969bb959336a2f743d7103a8f63 (diff) | |
bpf: Support "%c" in bpf_bprintf_prepare().
/proc/net/unix uses "%c" to print a single-byte character to escape '\0' in
the name of the abstract UNIX domain socket. The following selftest uses
it, so this patch adds support for "%c". Note that it does not support
wide character ("%lc" and "%llc") for simplicity.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210814015718.42704-3-kuniyu@amazon.co.jp
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
