A couple of install scripts/commands used while installing Manjaro linux with a ZFS root.
For Manjaro specific options:
But mostly following:
A couple of install scripts/commands used while installing Manjaro linux with a ZFS root.
For Manjaro specific options:
But mostly following:
| #include <memory> | |
| #include <cstddef> | |
| template <class T, class Deleter = std::default_delete<T>> | |
| class ilist | |
| { | |
| public: | |
| using self_type = ilist<T>; | |
| using pointer = T*; | |
| using unique_ptr = std::unique_ptr<T, Deleter>; |
| // based on: http://locklessinc.com/articles/locks/ | |
| #include <unistd.h> | |
| #define XPAUSE() __asm__ __volatile__("pause\n": : :"memory") | |
| #define XBARRIER() __asm__ __volatile__("": : :"memory") | |
| #define XCMPXCHG(P, O, N) __sync_bool_compare_and_swap((P), (O), (N)) | |
| #define XATOMIC_FETCH_ADD(P, V) __sync_fetch_and_add((P), (V)) | |
| #define XATOMIC_ADD_FETCH(P, V) __sync_add_and_fetch((P), (V)) | |
| #define XWAIT(cond) do { \ | |
| for (unsigned n = 0; (cond); n++) { \ |
I hereby claim:
To claim this, I am signing this object:
| local ffi = require('ffi') | |
| ffi.cdef[[ | |
| typedef struct Other Other; | |
| typedef struct Thing Thing; | |
| struct Other { | |
| Thing *thing; | |
| int index; | |
| }; |
| { | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": [ | |
| "s3:Get*", | |
| "s3:ListBucket" | |
| ], | |
| "Resource": ["arn:aws:s3:::mybucket", "arn:aws:s3:::mybucket/*"] | |
| } |
| { | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": [ | |
| "s3:GetObject" | |
| ], | |
| "Resource": "arn:aws:s3:::mybucket/*" | |
| }, | |
| { |