Add stub headers for Linux kernel interfaces that ext4 code expects: - capability.h: stub capability checks (always return true) - cred.h: stub credential types and macros - file.h: stub file descriptor helpers - path.h: basic path structure definition - security.h: stub LSM hooks (no-ops) - seq_file.h: stub seq_file interface These provide minimal definitions to allow ext4 code to compile. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com>
19 lines
393 B
C
19 lines
393 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _LINUX_SEQ_FILE_H
|
|
#define _LINUX_SEQ_FILE_H
|
|
|
|
/*
|
|
* Stub definitions for seq_file interface.
|
|
* U-Boot doesn't use /proc filesystem.
|
|
*/
|
|
|
|
struct seq_file {
|
|
void *private;
|
|
};
|
|
|
|
#define seq_printf(m, fmt, ...) do { } while (0)
|
|
#define seq_puts(m, s) do { } while (0)
|
|
#define seq_putc(m, c) do { } while (0)
|
|
|
|
#endif /* _LINUX_SEQ_FILE_H */
|