2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00

Rename useable to usable

I am not sure if this is going to bring any compatibility issues.
If yes, we need to remove this patch and add "useable" to the list of
ignored words instead.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin 2022-03-30 18:22:22 -07:00 committed by Andrei Vagin
parent c4bdde2138
commit 2a60b4974c
4 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ typedef struct {
unsigned int read_exec_only : 1;
unsigned int limit_in_pages : 1;
unsigned int seg_not_present : 1;
unsigned int useable : 1;
unsigned int usable : 1;
unsigned int lm : 1;
} user_desc_t;

View File

@ -25,7 +25,7 @@ static inline void core_put_tls(CoreEntry *core, tls_t tls)
COPY_TLS(read_exec_only);
COPY_TLS(limit_in_pages);
COPY_TLS(seg_not_present);
COPY_TLS(useable);
COPY_TLS(usable);
#undef COPY_TLS
}
}

View File

@ -49,7 +49,7 @@ static inline void core_get_tls(CoreEntry *pcore, tls_t *ptls)
COPY_TLS(read_exec_only);
COPY_TLS(limit_in_pages);
COPY_TLS(seg_not_present);
COPY_TLS(useable);
COPY_TLS(usable);
#undef COPY_TLS
}
}

View File

@ -99,7 +99,7 @@ message user_desc_t {
required bool read_exec_only = 7 [default = true];
required bool limit_in_pages = 8;
required bool seg_not_present = 9 [default = true];
required bool useable = 10;
required bool usable = 10;
}
message thread_info_x86 {