forked from MIrrors/gasket-driver
Now that the SPDX tag is in all gasket files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. Cc: Rob Springer <rspringer@google.com> Cc: John Joseph <jnjoseph@google.com> Cc: Ben Chan <benchan@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
27 lines
632 B
C
27 lines
632 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (C) 2018 Google, Inc. */
|
|
#ifndef __GASKET_IOCTL_H__
|
|
#define __GASKET_IOCTL_H__
|
|
|
|
#include "gasket_core.h"
|
|
|
|
/*
|
|
* Handle Gasket common ioctls.
|
|
* @filp: Pointer to the ioctl's file.
|
|
* @cmd: Ioctl command.
|
|
* @arg: Ioctl argument pointer.
|
|
*
|
|
* Returns 0 on success and nonzero on failure.
|
|
*/
|
|
long gasket_handle_ioctl(struct file *filp, uint cmd, ulong arg);
|
|
|
|
/*
|
|
* Determines if an ioctl is part of the standard Gasket framework.
|
|
* @cmd: The ioctl number to handle.
|
|
*
|
|
* Returns 1 if the ioctl is supported and 0 otherwise.
|
|
*/
|
|
long gasket_is_supported_ioctl(uint cmd);
|
|
|
|
#endif
|