Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
Post fb041b598997d63c0f7d7305dfae70046bf66fe1 import_iovec 0000000000005344 <import_iovec>: * Return: Negative error code on error, bytes imported on success */ ssize_t import_iovec(int type, const struct iovec __user * uvector, unsigned nr_segs, unsigned fast_segs, struct iovec **iov, struct iov_iter *i) { 5344: d503233f paciasp 5348: d10143ff sub sp, sp, #0x50 534c: a9017bfd stp x29, x30, [sp, #16] 5350: f90013f7 str x23, [sp, #32] 5354: a90357f6 stp x22, x21, [sp, #48] 5358: a9044ff4 stp x20, x19, [sp, #64] 535c: 910043fd add x29, sp, #0x10 5360: 90000008 adrp x8, 0 <__stack_chk_guard> 5364: f9400108 ldr x8, [x8] 5368: aa0403f3 mov x19, x4 ssize_t n; struct iovec *p; n = rw_copy_check_uvector(type, uvector, nr_segs, fast_segs, 536c: 2a0203f7 mov w23, w2 5370: aa0503f5 mov x21, x5 5374: f90007e8 str x8, [sp, #8] *iov, &p); 5378: f9400084 ldr x4, [x4] n = rw_copy_check_uvector(type, uvector, nr_segs, fast_segs, 537c: 2a0303e3 mov w3, w3 5380: 910003e5 mov x5, sp 5384: aa1703e2 mov x2, x23 5388: 2a0003f6 mov w22, w0 538c: 94000000 bl 5170 <rw_copy_check_uvector> 5390: f94003e8 ldr x8, [sp] 5394: aa0003f4 mov x20, x0 if (n < 0) { 5398: b7f80220 tbnz x0, #63, 53dc <import_iovec+0x98> WARN_ON(direction & ~(READ | WRITE)); 539c: 71000adf cmp w22, #0x2 53a0: 54000462 b.cs 542c <import_iovec+0xe8> // b.hs, b.nlast 53a4: d5384109 mrs x9, sp_el0 if (uaccess_kernel()) { 53a8: f9400529 ldr x9, [x9, #8] 53ac: 5280008a mov w10, #0x4 // #4 53b0: 5280010b mov w11, #0x8 // #8 i->kvec = (struct kvec *)iov; 53b4: a901dea8 stp x8, x23, [x21, #24] if (uaccess_kernel()) { 53b8: b100053f cmn x9, #0x1 53bc: 1a8a0169 csel w9, w11, w10, eq // eq = none 53c0: 330002c9 bfxil w9, w22, #0, #1 i->type = ITER_KVEC | direction; 53c4: b90002a9 str w9, [x21] i->iov_offset = 0; 53c8: a900d2bf stp xzr, x20, [x21, #8] kfree(p); *iov = NULL; return n; } iov_iter_init(i, type, p, nr_segs, n); *iov = p == *iov ? NULL : p; 53cc: f9400269 ldr x9, [x19] 53d0: eb09011f cmp x8, x9 53d4: 9a8803e8 csel x8, xzr, x8, eq // eq = none 53d8: 14000007 b 53f4 <import_iovec+0xb0> if (p != *iov) 53dc: f9400269 ldr x9, [x19] 53e0: eb09011f cmp x8, x9 53e4: 54000060 b.eq 53f0 <import_iovec+0xac> // b.none kfree(p); 53e8: aa0803e0 mov x0, x8 53ec: 94000000 bl 0 <kfree> 53f0: aa1f03e8 mov x8, xzr 53f4: f9000268 str x8, [x19] 53f8: 90000009 adrp x9, 0 <__stack_chk_guard> 53fc: f94007e8 ldr x8, [sp, #8] 5400: f9400129 ldr x9, [x9] 5404: eb08013f cmp x9, x8 5408: 54000161 b.ne 5434 <import_iovec+0xf0> // b.any return n; } 540c: aa1403e0 mov x0, x20 5410: a9444ff4 ldp x20, x19, [sp, #64] 5414: a94357f6 ldp x22, x21, [sp, #48] 5418: f94013f7 ldr x23, [sp, #32] 541c: a9417bfd ldp x29, x30, [sp, #16] 5420: 910143ff add sp, sp, #0x50 5424: d50323bf autiasp 5428: d65f03c0 ret WARN_ON(direction & ~(READ | WRITE)); 542c: d4210000 brk #0x800 5430: 17ffffdd b 53a4 <import_iovec+0x60> 5434: 94000000 bl 0 <__stack_chk_fail>
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
I made $15,000 in 2 days
CSS | 7 min ago | 0.21 KB
This summer smells like money
CSS | 8 min ago | 0.21 KB
✅ API Glitch (Docs Leak)
CSS | 9 min ago | 0.21 KB
Untitled
mIRC | 2 hours ago | 0.57 KB
ifm isu iolink [WIP]
Python | 3 hours ago | 1.18 KB
HELLO PROGRAMMER
17 hours ago | 0.03 KB
Untitled
22 hours ago | 2.26 KB
FB2600 User Handbook v0.91
1 day ago | 6.06 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!