| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* user-type.h: User-defined key type |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved. |
|---|
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or |
|---|
| 7 | | - * modify it under the terms of the GNU General Public License |
|---|
| 8 | | - * as published by the Free Software Foundation; either version |
|---|
| 9 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #ifndef _KEYS_USER_TYPE_H |
|---|
| .. | .. |
|---|
| 31 | 27 | struct user_key_payload { |
|---|
| 32 | 28 | struct rcu_head rcu; /* RCU destructor */ |
|---|
| 33 | 29 | unsigned short datalen; /* length of this data */ |
|---|
| 34 | | - char data[0] __aligned(__alignof__(u64)); /* actual data */ |
|---|
| 30 | + char data[] __aligned(__alignof__(u64)); /* actual data */ |
|---|
| 35 | 31 | }; |
|---|
| 36 | 32 | |
|---|
| 37 | 33 | extern struct key_type key_type_user; |
|---|