summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorShaojie Sun <sunshaojie@kylinos.cn>2026-09-03 14:48:27 +0800
committerChristian Brauner <brauner@kernel.org>2026-09-04 12:46:45 +0200
commitd54cc3a5272c29129ec53ac9a35ba694df7eea29 (patch)
tree85e764a3d928445f8ed57eb0ee1ea63aec98648f /tools/lib/python
parentfec2c3c0744bf3ce2aaafb1fd3fd5289cfd4814c (diff)
downloadlinux-next-d54cc3a5272c29129ec53ac9a35ba694df7eea29.tar.gz
linux-next-d54cc3a5272c29129ec53ac9a35ba694df7eea29.zip
uts: drop BUG_ON() in copy_utsname()
The sole caller, create_new_namespaces(), always passes a valid uts namespace pointer from the task's nsproxy. The other copy_*_ns() helpers, e.g. copy_time_ns() and copy_pid_ns(), don't perform such a check either. Drop the BUG_ON() for consistency with them. Signed-off-by: Shaojie Sun <sunshaojie@kylinos.cn> Link: https://patch.msgid.link/20260903064828.126643-3-sunshaojie@kylinos.cn Reviewed-by: Bradley Morgan <brads@mainlining.org> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions