summaryrefslogtreecommitdiff
path: root/dissector_sll.h
blob: 2067942c22f0152091060014dc81888f57c961c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * netsniff-ng - the packet sniffing beast
 * Subject to the GPL, version 2.
 */

#ifndef DISSECTOR_SLL_H
#define DISSECTOR_SLL_H

#include "hash.h"
#include "proto.h"

extern void dissector_init_sll(int fnttype);
extern void dissector_cleanup_sll(void);

extern struct protocol *dissector_get_sll_entry_point(void);
extern struct protocol *dissector_get_sll_exit_point(void);

#endif /* DISSECTOR_SLL_H */
>Maxim Patlasov <mpatlasov@virtuozzo.com>2016-07-21 18:24:26 -0700 committerMiklos Szeredi <mszeredi@redhat.com>2016-07-22 10:54:20 +0200 commitcfc9fde0b07c3b44b570057c5f93dda59dca1c94 (patch) tree7f36d4f2a49719673c436767707d25ef5f5e9041 /Documentation/x86 parent07a2daab49c549a37b5b744cbebb6e3f445f12bc (diff)
ovl: verify upper dentry in ovl_remove_and_whiteout()
The upper dentry may become stale before we call ovl_lock_rename_workdir. For example, someone could (mistakenly or maliciously) manually unlink(2) it directly from upperdir. To ensure it is not stale, let's lookup it after ovl_lock_rename_workdir and and check if it matches the upper dentry. Essentially, it is the same problem and similar solution as in commit 11f3710417d0 ("ovl: verify upper dentry before unlink and rename"). Signed-off-by: Maxim Patlasov <mpatlasov@virtuozzo.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'Documentation/x86')