Chapter 4 Linux users and groups
1.Linux Security Model
Resource allocation:
Authentication: authentication to verify the user's identityAuthorization: authorization. Different users set different permissionsAccounting audit
When the user logs in successfully, the system will automatically assign a token, including user ID, group member and other information
1.1 users
In ...
Added by csousley on Mon, 11 Oct 2021 02:06:51 +0300
Linux I2C application programming
Linux I2C application programming
Equipment file
/dev/i2c-x x is the I2C bus number, that is, a group of SCL and SDA. Multiple I2C devices can be connected to one bus. During communication, they are distinguished by device address and are not reflected in the system device file. For raspberry pie, when I2C function is enabled, there is a bus, ...
Added by red-x on Sun, 10 Oct 2021 16:05:53 +0300
Java AES encryption test knife
In the process of java development, we often need to encrypt data, such as sound, sensitive information and so on. We usually use MD5 encryption, SHA encryption, DES encryption, AES encryption, etc. Today we'll look at AES encryption.
Source of the problem
In the project, the code was well written, and there was no problem in the local te ...
Added by shinephp on Sat, 09 Oct 2021 21:24:36 +0300
Install and configure Nginx in Linux Environment
Install and configure Nginx in Linux Environment
preface
It was the same project some time ago. Because the production environment was configured with nginx with domain name, it was found that the test environment had no domain name and was not installed after returning from the customer's site. Some problems were encountered during in ...
Added by Flukey on Sat, 09 Oct 2021 13:14:06 +0300
Mixed programming of C + + and CUDA on Linux
In order to better illustrate how to realize the mixed programming of C + + and CUDA in Linux, I will next realize the modular operation of each element of a matrix.
1. Header file and file form
To write CUDA code in C + +, you need to import header files:
#include "cuda_runtime.h"
#include "cublas_v2.h"
#include "device_launch_parameters.h" ...
Added by Shawnaize on Sat, 09 Oct 2021 12:45:06 +0300
python stepping on the pit
Please indicate the source for Reprint: simiam.com
Amway: py awesome Kit
Py awesome kit is a python toolkit I have been tossing about recently. It provides functions commonly used in the process of big data development and data analysis. I hope it can be gradually enriched and improved in the future. Project address: https://github.com/monk ...
Added by bradlybrown on Sat, 09 Oct 2021 04:55:23 +0300
Steamed rice ROP_X86 learning summary
Relevant accessories for steamed rice Interested in downloading
Learn some ROP notes of steamed rice and write a summary by yourself
What is ROP
The full name is return oriented programming. The core is to use the return instruction to control the execution order. As an advanced memory attack technology, it can bypass various simple defenses ...
Added by smokey20 on Fri, 08 Oct 2021 21:43:59 +0300
camera driver 08 Quanzhi media framework
Platform: Quanzhi A133 Android Q
Start process
Data flow throughout the whole article
sensor0 ==> mipi0 ==> csi0 ==> isp0 ==> scale0(vipp0) ==> vinc0(dma0) ==> video0 sensor1 ==> mipi1 ==> csi1 ==> isp0 ==> scale1(vipp1) ==> vinc1(dma1) ==> video1
sensor, mipi, csi, isp, scale and vinc are all v4l2_s ...
Added by GrizzlyBear on Fri, 08 Oct 2021 12:33:50 +0300
gcc generates static libraries (. a) and dynamic libraries (. so)
This paper mainly describes how gcc generates static library (. a) and dynamic library (. so) to help us better carry out embedded programming. Because sometimes security is involved, static libraries or dynamic libraries may be provided for us to use.
System environment: Ubuntu Desktop 18.04
1, What are static and dynamic libraries
We u ...
Added by Peggy on Thu, 07 Oct 2021 19:53:42 +0300
08-10 performance bottleneck evidence chain
Memory
disk space
[root@ZT-TEST ~]# df -h
file system Capacity used available used% Mount point
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 402M 3.6G 11% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/ ...
Added by snafudawn on Thu, 07 Oct 2021 07:22:43 +0300