59 data = ( ( (
void * ) *cursor ) +
sizeof ( **cursor ) );
62 (*cursor)->data =
data;
87 cursor.
len =
sizeof ( buf );
94 DBGC (
image,
"DER %s is not valid ASN.1: %s\n",
struct arbelprm_rc_send_wqe rc
userptr_t data
Raw file image.
static int der_asn1(struct image *image, size_t offset __unused, struct asn1_cursor **cursor)
Extract ASN.1 object from image.
uint8_t extra
Signature extra byte.
#define ENOEXEC
Exec format error.
static __always_inline void copy_from_user(void *dest, userptr_t src, off_t src_off, size_t len)
Copy data from user buffer.
const void * data
Start of data.
An executable image type.
#define PROBE_NORMAL
Normal image probe priority.
struct image_type der_image_type __image_type(PROBE_NORMAL)
DER image type.
Access to external ("user") memory.
char * name
Name of this image type.
size_t len
Length of data.
#define ENOMEM
Not enough space.
#define __unused
Declare a variable or data structure as unused.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
char * strerror(int errno)
Retrieve string representation of error number.
int asn1_enter_partial(struct asn1_cursor *cursor, unsigned int type, size_t *extra)
Enter ASN.1 partial object.
size_t len
Length of raw file image.
#define ASN1_SEQUENCE
ASN.1 sequence.
void * malloc(size_t size)
Allocate memory.
static int der_probe(struct image *image)
Probe DER image.
uint8_t data[48]
Additional event data.
uint16_t offset
Offset to command line.